0 Members and 1 Guest are viewing this topic.
In other news, Frey continues kicking unprecedented levels of ass.
p_Safety: ;Output: af holds state to-be-pushed .db __SafetyEnd-1-$ ;DESTROYS B, all other registers okay. in a,($02) ;Save model settings rla ;BE flag into carry sbc a,a ;00 if BE else FF jr z,__SafetyBE ;Check If model is base edition in a,($20) ;Get current speed setting__SafetyBE: ld b,a ;Save speed setting xor a out ($20),a ;Set speed to slow ld a,i ;pe if interrupts di ld a,b ;Restore speed setting ret__SafetyEnd:
A few suggestions/bug reports regarding the new version of Axe:The nibble reading and writing commands have opposite endianness again. I would suggest changing p_NibSto to be big-endian like the reading commands currently are, since a lot of people complained about the nibble commands being little-endian. Which makes sense, because big-endian style is a lot better for things like reading from nibble tilemaps. Big-endian nibble order better corresponds with how hex data is added and displayed.