0 Members and 2 Guests are viewing this topic.
You can't use files if you swap in a spare RAM page and take control over the whole calculator, which I do. I can't use very many OS routines this way.
getExternalData:; Reads data from an external data file in the archive. The location must be cached.; Data file must not be larger than 16K.; Input:; - HL: Address. If greater than 8000h, will wrap to next page; - (dataPage): Base page that the external data file resides on in a, (6) push af ld d, (dataPage) ld a, 080h ; CHANGE FOR APPS!! cp h jp nc, dataInArchGoodAddr ld a, 0C0 add a, h ld h, a inc ddataInArchGoodAddr: ld a, d out (6), a ; CHANGE FOR APPS!! ld d, (hl) pop af out (6), a ld a, d ret
Placeholder? Is that in case there isn't already a map file? Perhaps you could optimize that away with a generator, or force an error if there isn't one, while including one in the final program's zip file.
Sir, did you see my edit from last night? Are you going to put a height limit on negative feet and a terminal velocity?
wow... the demo is awesome!i found some weird stuff though you can go towards the right infinitly and after you go a certain distance you start getting an extra row of stuff above the original surface, and you can't land on it while you can dig it. If you attempt to land on it you seem to just fall through it and land on the second level and unable to fly out since the layer above you remains intact. if you keep flying or digging in ththat direction even further you get bugs in which there are undiggable blocks that look like what was the intended sprite for the drill? O.o