Burgers on the fourth of July
Instead of grilling burgers, I'm programming them.
As it turns out,
wait:
lda $D012 ; load 255 into A
wait2:
cmp #$FF ; look if current rasterline equals 255
bne wait2 ; if no, goto wait2
rts ; if yes, return from subroutine
does not work. The burger just stands still.
I added a game over screen. Nothing fancy, just the words "GAME OVER" in blood red against a black background. I finally figured out how to put a space on the screen as just one character. I needed a PETSCII chart to do so though. You'd think 00 would be a space, but it's not. It's an @ for some reason.
I am still wondering whether I should keep the sky color as is or attempt to make it cyaner. I tried to add some skyscraper tops to the sky, but I failed, so it will just have to be all sky.
Happy fourth of july to those of us in the United States. And everywhere else. No fireworks for us. There haven't been any real loud booms yet. I guess the inflation even goes to fireworks.
3 Comments
Recommended Comments