Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
ByteData:
|
||||
DC.B $01,$02,$03,$04,$05
|
||||
even
|
||||
WordData:
|
||||
DC.W $01,$02
|
||||
DC.W $03,$04
|
||||
;the above was the same as DC.W $0001,$0002,$0003,$0004
|
||||
LongData:
|
||||
DC.L $00000001,$00000002,$00000004,$00000008
|
||||
|
||||
MyString:
|
||||
DC.B "Hello World!",0 ;a null terminator will not be automatically placed.
|
||||
even
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
DS.B 8 ;8 bytes, each equals 0
|
||||
DS.W 16 ;16 words, each equals zero
|
||||
DS.L 20 ;20 longs, each equals zero
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
ScreenSize equ $1200
|
||||
|
||||
MOVE.W (MyData),D0
|
||||
|
||||
MyData
|
||||
DC.W ScreenSize
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Printstring:
|
||||
;insert your code here
|
||||
|
||||
FunctionTable:
|
||||
DC.L PrintString ;represents the address of the function "PrintString"
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
DC.B $0200>>3 ;evaluates to $0040. As long as the final result fits within the designated storage size, you're good.
|
||||
DC.W 4+5 ;evaluates to $0009
|
||||
DC.W (40*30)-1 ;evaluates to $1199
|
||||
DC.L MyFunction+4 ;evaluates to the address of MyFunction, plus 4.
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
TilemapCollision:
|
||||
DC.B $11,$11,$11,$11,$11,$11,$11,$11,$11,$11
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $11,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $10,$00,$00,$00,$00,$00,$00,$00,$00,$01
|
||||
DC.B $11,$11,$11,$11,$11,$11,$11,$11,$11,$11
|
||||
TilemapCollisionEnd:
|
||||
|
||||
MOVE.W #(TilemapCollisionEnd-TilemapCollision)-1,D0
|
||||
;gets the length of this region of memory, minus 1, into D0.
|
||||
; Again, even though the "operands" of this expression are longs,
|
||||
; their difference fits in 16 bits and that's all that matters.
|
||||
Loading…
Add table
Add a link
Reference in a new issue