[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bored at work....



On Monday, August 20, 2012 1:49:43 PM UTC-5, (unknown) wrote:
> On Monday, August 20, 2012 11:16:40 AM UTC-7, (unknown) wrote:
> 
> > On Tuesday, July 17, 2012 7:39:12 PM UTC-7, (unknown) wrote:
> 
> > 
> 
> > > http://rich12345.tripod.com/basicmario/index.html
> 
> > 
> 
> > > if you are too, mess with the BASIC code and share
> 
> > 
> 
> 
> 
> > > here...
> 
> > 
> 
> > i ADDED TWO LINKS:
> 
> 
> 
> With that DSK image, you can control-BReak to get to the BASIC prompt.
> 
> 
> 
> Type run LEVELEDIT
> 
> 
> 
> it automatically loads world1.1, as does the demo.
> 
> 
> 
> Edit the level, press S to save.  Name it world1.1
> 
> 
> 
> press * in the leveleditor, and it will convert it to the
> 
> binary level format, and then run the demo so you can see the
> 
> level you just edited.
> 
> 
> 
> Rich

That's a pretty cool effort!  It will be a lot faster if you can avoid updating the whole screen.  Also, if you use two hires pages, you can use one page for the full blocks and the second page for the half-block scroll.  This will allow you to lower the total number of updates you're doing significantly because you will benefit from retaining similar elements.   The more you retain the less you have to redraw each time.

Out of curiosity, is your code making any assumptions about start values of memory addresses or soft switches?  I can get it to work most of the time, but other times it just crashes when it is supposed to start the game.  Not to say it's your bug, it could be my buggy emulator too. ;-)

-B