0 Members and 3 Guests are viewing this topic.
in lesson 9, i noticed that in your first example using _PutS, you left out the underscore.Hurray for typos...
Quote from: calcdude84se on May 13, 2010, 08:11:31 pmin lesson 9, i noticed that in your first example using _PutS, you left out the underscore.Hurray for typos...Agh, sooner or later, I'm going to make a typo as bad as the one the writer of "ASM 28 Days" made in the sprite routine
IIRC, all you can do with af is ex af,af'; push af; and pop af
ld hl,bufferLoop:ld e,(hl)inc hlld d,(hl)inc hl ;In total 26 Clock Cycles<do something with de>jp Loop
ld (saveSP),spld sp,bufferLoop:pop de ;In total 10 Clock Cycles<do something with de>jp Loopld sp,(saveSP)
Hot Dog, I found a mistake in Chapter 10. You say that 7 = 00001111, when it is really 00000111Edit:Also, you said that 6 = 00001110