I'm using GCC to cross compile from my PC, and I have it running on native hardware.
I'm not all that sure on how to 'package' this up... It needs a ludicrous 600kb of disk space although 256kb can be reclaimed if you know how to send binaries properly. Im using Minerva, TK2 and a Trump card to for the ram and whopping 8MB card which fits it all just fine.
This is really cool! I spent waaayyyy too many hours on the university computer playing NetHack (a more complex version of Hack). Feels great to be able to play Hack on QL, thank you for the porting effort!
ppe wrote: Wed Dec 28, 2022 12:07 pm
This is really cool! I spent waaayyyy too many hours on the university computer playing NetHack (a more complex version of Hack). Feels great to be able to play Hack on QL, thank you for the porting effort!
Yeah considering that public release of hack was in 1985, its really cool to see it running on the 'affordable' 32bit computer of 1985. Although it needs 512kb ram, and realistically a floppy/hard disk, but still now the QL feels like a legit minicomputer for the home!
Can this program not be written in assembler saving a lot of space and increasd in speed.
I want to do more programming, so will have a look at this...
it's 436,299 bytes of C, or roughly 20,227 lines of code. It'd be a significant undertaking. It'd be easier to write some kind of runtime linker to impliment overlays.. and that would not be easy by any stretch.
Not to completely discourage you, but the code is in the link above. It'd just be an astronomical amount of work. I think rogue was signicantly smaller, hack just kind of took on a life of it's own, and begat nethack.