Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Conversation

@skx
Copy link
Owner

@skx skx commented Apr 25, 2022

This pull-request will close #27, once complete, by porting the game to the ZX Spectrum.

The initial commits do the obvious things:

  • Added a bios.z80 file to contain the platform-specific code.
    • This abstracts the clearing of the screen, prompting for input, and outputing strings and characters.
  • The Makefile was updated to add a new Spectrum-specific target.

I've reworded the text of the introduction screen, but the wrapping of text is going to be a nightmare as the spectrum has a much shorter/narrower display.

Outstanding tasks:

  • Allow editing/canceling input.
  • Handle scrolling properly.
    • Either keep track of characters, and scroll ourselves, or
    • Clear the screen after reading input.
  • Improve the display of the prompt for the spectrum.
  • Tweak the grue-delay for the spectrum, the timing is all wrong.

skx added 8 commits April 25, 2022 21:08
* I've added `bios.z80` to contain the platform-specific code.
* The Makefile was updated to add a new Spectrum-specific target.
* Some of the BIOS functions are populated
  * Missing right now is the user-input support.
  * This makes the game unplayable.

I've reworded the introduction, but the wrapping of text is
going to be a nightmare..
This game is now playable on the Spectrum.
@skx skx changed the title Work towards a ZX Spectrum Port. Introduce a ZX Spectrum Port. Apr 26, 2022
skx added 2 commits April 26, 2022 07:49
* Move the prompt-display to the get-input routine.
  * This means it shows in the correct place on the spectrum.
* Clear the screen after reading input, on the spectrum only.
We're now complete, I think.
@skx skx merged commit 60fb6ec into master Apr 26, 2022
@skx skx deleted the 27-spectrum branch April 26, 2022 15:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Port to ZX Spectrum

2 participants