Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2528

new projects in development: games • Re: Possible Pinball game for the BBC Micro

$
0
0
The score is increasing when things that should increase it happen like going through the left and right lanes at the top and hitting the pop bumpers, I just forgot that I added that bit!!!

There is about 1.5K of table data and 4K of maths (inc a few tables), physics and table piece code.

There are about 160 bytes of table state and temporary variables (scalar + vector + physics + logic) and a few variables in ZP that could be immediates but it saves and simplifies the code to have them there.

It uses another 84 bytes for storing the table where the balls are.

The sprite routines are currently in RAM too as they use self modding, but I'm still on budget for 512 bytes of RAM, plus possibly 2 bytes in the top left corner (&204/5). The table will fit with two char rows hidden, so I have 1K if I need it.

Total memory usage 3.75K for the game and everything except the display which is another 7.5K so I am hoping that the half / quarter size table will easily fit a standard B if not a model A :O but a full size one with 31/30K of display will still need SWRAM, but probably only a single bank.

Statistics: Posted by tricky — Sun Feb 16, 2025 10:46 pm



Viewing all articles
Browse latest Browse all 2528

Trending Articles