Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ClearZ80RAM:
- move.w #$1FFF,d0 ; Load length of Z80 RAM.
- lea ($A00000).l,a0 ; Load start of Z80 RAM.
- loc_1168:
- moveq #$F,d1 ; TODO - probably a timing issue?
- loc_116a:
- move.b #0,(a0) ; Clear a byte of Z80 RAM.
- tst.b (a0) ; Is it clear? TODO what?! (probably to do with delay)
- dbeq d1,loc_116a ; If it isn't, branch.
Advertisement
Add Comment
Please, Sign In to add comment