mirror of
https://github.com/fachat/xa65.git
synced 2025-01-16 19:32:04 +00:00
a09aa0df40
parameters
21 lines
384 B
Plaintext
21 lines
384 B
Plaintext
|
|
// testing some more complicated defines
|
|
// this is the minimum I found to trigger the hang symptom
|
|
|
|
|
|
#define max3420e_enable() nop
|
|
|
|
#define wrac(reg) \
|
|
max3420e_enable() :\
|
|
lda #(reg)
|
|
|
|
// just the definition of this macro hangs the xa indefinitely...
|
|
|
|
#define CLRBIT(reg, val) \
|
|
wrac(reg)
|
|
|
|
|
|
// *=$c000
|
|
// CLRBIT(1,2)
|
|
|