Kroc / elite-harmless

Disassembly (CA65) of the Commodore 64 port of the seminal space-sim Elite, by Ian Bell / David Braben.
https://discord.gg/ZYnQr5S
Other
93 stars 12 forks source link

Gut and replace original integer / decimal value handling #30

Open Kroc opened 6 years ago

Kroc commented 6 years ago

The game does a lot more work than necessary with decimal values like cash and fuel. Every time they're printed they go through numerous checks and conversions. We really should store and work with these as BCD or something that is easier to get to screen without going through a ton of math.