Page 1 of 1

Z80 Rogue

Posted: 27 Aug 2022 12:22
by under4mhz
I was looking to the possibility of porting bsd games to z80 and I came across this. I didn't find it in a search on the board. Have you seen it before? Apparently there are people porting code to MTX.

It's fairly difficult, but then nethack always is.

https://github.com/nanochess/z80rogue

Re: Z80 Rogue

Posted: 27 Aug 2022 14:38
by stephen_usher
I had wondered about Nethack etc. when the discussion about the C compiler came up.

Does this side-scroll as the normal Rogue/Nethack/Larn maps are 80 columns wide. 40 columns would feel a bit small.

Re: Z80 Rogue

Posted: 28 Aug 2022 00:34
by under4mhz
I think it's a port of his "bootRogue" which is a game in the 512b PC boot sector. So it's fairly simple.

As an aside, the executable size of bsd game "hack" on Linux is 275K. Nethack is 2.9M. It doesn't look like a simple port would be feasible.

Re: Z80 Rogue

Posted: 28 Aug 2022 01:15
by stephen_usher
Most of that is library bloat. Larn on a 680x0 Sun machine would be very much smaller.

Still, unless the program was specifically written to take advantage of the MTX's memory paging I doubt anything would work, even in a machine with 512K RAM.