Jump to content
  • entries
    20
  • comments
    16
  • views
    8,639

Some optimizing done


Shawn Jefferson

405 views

I've taken a small break from porting and started doing a bit of optimizing, mainly by using lookup tables when writing into VBXE memory, and for lookups of the Cave structure, which eliminates the multiplication. Game play is bearable at standard Atari speeds now. There's still a few other places I'd like to optimize, but for now, back to porting.

 

I've also found and fixed a few other bugs:

- created custom cgetc, as the cc65 version was writing into the screen (I'm not using the Atari screen memory, only VBXE)

- fixed the door placement code, now doors can be stuck or broken and will have to be bashed down.

- fixed the Eat code... now eating something increments your food counter properly.

- other miscellaneous optimization of the cave generation code, caves are generated on average around 30 seconds.

- re-implemented the map screen (command 'M')

 

2 Comments


Recommended Comments

Thanks! I hope to do that for sure, I realize that requiring vbxe really limits the audience for this. The original is all coded for 80 columns though, so getting it ported and working first.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...