mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 17:29:50 +00:00
Removed macro that didn't work
git-svn-id: svn://svn.cc65.org/cc65/trunk@2836 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
067706b737
commit
a51631bdcd
@ -94,19 +94,6 @@ void __fastcall__ pokewsys (unsigned addr, unsigned val);
|
||||
asm ("stx $01"), \
|
||||
asm ("ldx #$00"), \
|
||||
__AX__
|
||||
|
||||
#define pokebsys(addr,val) \
|
||||
__AX__ = (addr), \
|
||||
asm ("sta ptr1"), \
|
||||
asm ("stx ptr1+1"), \
|
||||
__AX__ = (val), \
|
||||
asm ("ldx $01"), \
|
||||
asm ("ldy #$0F"), \
|
||||
asm ("sty $01"), \
|
||||
asm ("ldy #$00"), \
|
||||
asm ("sta (ptr1),y"), \
|
||||
asm ("stx $01")
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user