diff options
author | Christian A. Weber <chris@gna.ch> | 1989-07-26 14:16:42 +0000 |
---|---|---|
committer | Christian A. Weber <chris@gna.ch> | 1989-07-26 14:16:42 +0000 |
commit | f7684ff06c1ff6fdaaca704361e51525c2444409 (patch) | |
tree | 4c510ff290b7cc48078645918436288161de7a22 | |
download | gameexec-f7684ff06c1ff6fdaaca704361e51525c2444409.tar.gz gameexec-f7684ff06c1ff6fdaaca704361e51525c2444409.tar.bz2 gameexec-f7684ff06c1ff6fdaaca704361e51525c2444409.zip |
Initial revision
-rw-r--r-- | copper.i | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/copper.i b/copper.i new file mode 100644 index 0000000..dbc1578 --- /dev/null +++ b/copper.i @@ -0,0 +1,39 @@ +; ***** COPPER MACROS, 05-Dec-87 / 26-Jul-89 CHW ************************* + +cmove: MACRO + DC.W ((\2)&$01fe) ; Zielregister + DC.W \1 + ENDM + +cmovel: MACRO + DC.W ((\2)&$01fe) ; Zielregister Hi-Word + DC.W (\1)/$10000 + DC.W ((\2)&$01fe)+2 ; Zielregister Lo-Word + DC.W (\1)&$ffff + ENDM + +cwait: MACRO + IFNE (NARG)-2 + FAIL cwait: bad arg count + ENDC + DC.W ((\1)!1)&$ffff ; Rasterzeile und -Spalte + DC.W ((\2)&$fffe)!$8000 ; Compare-Enable-Maske + ENDM + +cwaitv: MACRO + IFNE (NARG)-1 + FAIL cwaitv: bad arg count + ENDC + DC.W (((\1)<<8)!1)&$ffff ; Nur Zeile berücksichtigen + DC.W $fffe ; Compare-Enable-Maske + ENDM + +cend: MACRO + DC.W $ffff,$fffe + ENDM + +cskip: MACRO + DC.W (\1)!1 ; Rasterzeile und -Spalte + DC.W (\2)!$8001 ; Compare-Enable-Maske + ENDM + |