Fix bug - I was changing the RET address

This commit is contained in:
Pedro de Oliveira 2014-08-19 08:25:50 +01:00
parent 7c089a9ea7
commit 006ccb963a
2 changed files with 11 additions and 9 deletions

View File

@ -78,6 +78,7 @@ PROC
; Video Ram Address in HL
; Pixel to write in A
write_pixel
push bc
ld b, a
ld c, $0
scf
@ -93,6 +94,7 @@ write_pixel_do_it
ld a, (hl)
or c
ld (hl), a
pop bc
ret
ENDP

View File

@ -1,11 +1,11 @@
StarRnd
db 31, 10
db 1, 1
db 2, 2
db 3, 3
db 4, 4
db 5, 5
db 6, 6
db 7, 7
db 40, 1
db 0, 0
db 1, 10
db 2, 20
db 3, 30
db 4, 40
db 5, 50
db 6, 60
db 7, 70
db 8, 80
db 9, 90