Othello (A.K.A. Reversi)
Posted: Tue Oct 29, 2013 8:16 am
This is another piece of history.
This game was written by Robert Halstead at the Real-Time Systems Lab at MIT.
In 1978 Leor Zolman really wanted to play this same game on his home computer, so he tried to rewrite it in assembly language.
He eventually ended up creating a full native C compiler for the 8080 CP/M systems with incredible features.
The z88dk under some aspect is less powerful than the BDS C, so I had to adapt the source and discovered how fascinating it was: digging here and there helped me to improve a bit our compiler's optimizer much enough to get a minimal WRX graphics version fitting in 16K. The graphics were missing in the original program, so I provided also a 'legacy' version as it would have been if someone decided to cross-compile othello.c at those times with BDS C on a CP/M system (which, in my opinion is not as hard as it seems).
The link provides the Othello game in many flavours: WRX HRG (16 and 32K), Text (sinclair style, legacy and Upper/Lowercase text on WRX) and ZX80 !!!
This game was written by Robert Halstead at the Real-Time Systems Lab at MIT.
In 1978 Leor Zolman really wanted to play this same game on his home computer, so he tried to rewrite it in assembly language.
He eventually ended up creating a full native C compiler for the 8080 CP/M systems with incredible features.
The z88dk under some aspect is less powerful than the BDS C, so I had to adapt the source and discovered how fascinating it was: digging here and there helped me to improve a bit our compiler's optimizer much enough to get a minimal WRX graphics version fitting in 16K. The graphics were missing in the original program, so I provided also a 'legacy' version as it would have been if someone decided to cross-compile othello.c at those times with BDS C on a CP/M system (which, in my opinion is not as hard as it seems).
The link provides the Othello game in many flavours: WRX HRG (16 and 32K), Text (sinclair style, legacy and Upper/Lowercase text on WRX) and ZX80 !!!