Working on my displayroutine for MAKE A SHIT

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
Post Reply
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Working on my displayroutine for MAKE A SHIT

Post by dr beep »

Yes,

MAKE A SHIT.

A new 1K hires game where you play a straydog chased by a dogcatcher who tracks you by the dumps you leave behind.

So far first setup would need 900 bytes for the screen, that is too much.

I might have a new setup which uses 560 bytes for the screen., at the cost of just 1 column in the display.

Next to do: test the display,


The display looks a lot like MISSION IMPOSSIBLE, but I need an extra character to be displayed on a row,
Size is the same, but an extra UDG can be displayed.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: Working on my displayroutine for MAKE A SHIT

Post by dr beep »

Display is working.

Besides all the shit I can display both the dog and the catcher on the same row, the dog or catcher only, in any order.

So now of to code the game.
MAS.gif
To disable a print I alter the LBUF to NOT show an UDG on a position (not added yet).
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: Working on my displayroutine for MAKE A SHIT

Post by dr beep »

I altered the linebuffer and the place of the screen a bit, making room for another 36 bytes to code.

The game must be coded in 266 bytes (or less lines on the screen to create room)
Spinnetti
Posts: 253
Joined: Sat Sep 12, 2020 11:29 pm

Re: Working on my displayroutine for MAKE A SHIT

Post by Spinnetti »

I'm puzzled how to do UDG in 1k much less in any other version!
Zeddy: ZX80, ZX81/ZXpand, TS1000/ZXpand, TS1500/Zxpand+
Speccy: 48k, +, +2, +3, TS2068, "Bare Metal" Pi, Next KS2, IF1/Microdrives/Vdrive/Light Gun/VGA-Joy
QL: Minerva/QL-VGA/Custom PSU
C5: 24v, LiFE battery, Disc brakes
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Working on my displayroutine for MAKE A SHIT

Post by mrtinb »

UDG requires special hardware on the ZX81, except when no RAM is attached and the internal 1k/2k is used.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: Working on my displayroutine for MAKE A SHIT

Post by dr beep »

Spinnetti wrote: Wed Sep 01, 2021 3:30 am I'm puzzled how to do UDG in 1k much less in any other version!
The screen itself are 16 characters of poo
This screen is displayed 20x.

On each screen a dog or catcher can be placed and after display repaired to the poo for the next screen.

To have different screen display each screen has its own display routine that can switch on/off the dsplay of the poo.

The screen is 7x17 bytes and the display is 20x18 bytes
That fits easily in 1K.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: Working on my displayroutine for MAKE A SHIT

Post by dr beep »

Start of game now working, display of catcher and dog during gameplay now working.
Now movement and score to do

Bytes left : 166 ( room for stack in this as well )

Worst case: the size of the screen would become less.
4 lines less adds 80 bytes to the codesize.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: Working on my displayroutine for MAKE A SHIT

Post by dr beep »

Playermovement now added....
Post Reply