1K ZX81 RPG/Adventure game

General games-related topics
Post Reply
Apollon347
Posts: 1
Joined: Wed Mar 09, 2022 6:12 am

1K ZX81 RPG/Adventure game

Post by Apollon347 »

Here is a try to implenent an RPG(ish) little game in 1K.
1K_GOLDHUNT.p
(818 Bytes) Downloaded 116 times
After RUN you have to press 6 or 7 (then enter) to work properly.

In fact this is my first program for the ZX81, so if anybody have some ideas how to further opimize the code (within the 1K limit) please share with me :)
Similarly as of my experiance the program size limit for the 1K in BASIC (at least eightyone and sz81 emulators which I used) is about 680 bytes (or 820 bytes for the .p file) so is there any techniques which can expand this a little bit i would happy to hear it.

Thx:)
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 1K ZX81 RPG/Adventure game

Post by dr beep »

To get the most out of 1K you need to use machinecode.

Numbers use less space, you can use printer buffer and a part of the systemvariables as well.
User avatar
bobs
Posts: 325
Joined: Thu Aug 27, 2009 10:49 pm
Location: UK
Contact:

Re: 1K ZX81 RPG/Adventure game

Post by bobs »

…and nobody knows more about getting the most from 1K than Dr Beep 8-)
Post Reply