mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-11-25 15:32:59 +00:00
Switch to using exported Tiled project assets
This commit is contained in:
parent
44ee61a3f3
commit
d9133a2170
@ -24,20 +24,10 @@ _Mul128 mac
|
||||
asl
|
||||
asl
|
||||
<<<
|
||||
; xba ; Naive is 7 ASL instructions = 14 cycles
|
||||
; lsr ; By using XBA, we can save a couple cycles
|
||||
; bcc *+5
|
||||
; ora #$8000
|
||||
; and #$007F
|
||||
|
||||
|
||||
_Mul4096 mac
|
||||
xba
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
asl
|
||||
<<<
|
||||
; Possible optimization (assumes accumulator is <512). 8 cycles/5 bytes vs 14 cycles/7 bytes
|
||||
; cmp #$0100
|
||||
; xba
|
||||
; ror
|
||||
|
||||
_Div16 mac
|
||||
lsr
|
||||
@ -200,6 +190,10 @@ next
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
105
package-lock.json
generated
105
package-lock.json
generated
@ -4,6 +4,15 @@
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"bindings": {
|
||||
"version": "1.5.0",
|
||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
|
||||
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"file-uri-to-path": "1.0.0"
|
||||
}
|
||||
},
|
||||
"exec-sh": {
|
||||
"version": "0.2.2",
|
||||
"resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.2.2.tgz",
|
||||
@ -13,6 +22,46 @@
|
||||
"merge": "^1.2.0"
|
||||
}
|
||||
},
|
||||
"file-uri-to-path": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
|
||||
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
|
||||
"dev": true
|
||||
},
|
||||
"hoek": {
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz",
|
||||
"integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA==",
|
||||
"dev": true
|
||||
},
|
||||
"isemail": {
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/isemail/-/isemail-3.2.0.tgz",
|
||||
"integrity": "sha512-zKqkK+O+dGqevc93KNsbZ/TqTUFd46MwWjYOoMrjIMZ51eU7DtQG3Wmd9SQQT7i7RVnuTPEiYEWHU3MSbxC1Tg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"punycode": "2.x.x"
|
||||
}
|
||||
},
|
||||
"joi": {
|
||||
"version": "13.7.0",
|
||||
"resolved": "https://registry.npmjs.org/joi/-/joi-13.7.0.tgz",
|
||||
"integrity": "sha512-xuY5VkHfeOYK3Hdi91ulocfuFopwgbSORmIwzcwHKESQhC7w1kD5jaVSPnqDxS2I8t3RZ9omCKAxNwXN5zG1/Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"hoek": "5.x.x",
|
||||
"isemail": "3.x.x",
|
||||
"topo": "3.x.x"
|
||||
},
|
||||
"dependencies": {
|
||||
"hoek": {
|
||||
"version": "5.0.4",
|
||||
"resolved": "https://registry.npmjs.org/hoek/-/hoek-5.0.4.tgz",
|
||||
"integrity": "sha512-Alr4ZQgoMlnere5FZJsIyfIjORBqZll5POhDsF4q64dPuJR6rNxXdDxtHSQq8OXRurhmx+PWYEE8bXRROY8h0w==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"merge": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/merge/-/merge-1.2.1.tgz",
|
||||
@ -25,12 +74,57 @@
|
||||
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
|
||||
"dev": true
|
||||
},
|
||||
"nan": {
|
||||
"version": "2.15.0",
|
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz",
|
||||
"integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==",
|
||||
"dev": true
|
||||
},
|
||||
"node-expat": {
|
||||
"version": "2.4.0",
|
||||
"resolved": "https://registry.npmjs.org/node-expat/-/node-expat-2.4.0.tgz",
|
||||
"integrity": "sha512-X8Y/Zk/izfNgfayeOeUGqze7KlaOwVJ9SDTjHUMKd0hu0aFTRpLlLCBwmx79cTPiQWD24I1YOafF+U+rTvEMfQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"bindings": "^1.5.0",
|
||||
"nan": "^2.13.2"
|
||||
}
|
||||
},
|
||||
"pngjs": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/pngjs/-/pngjs-6.0.0.tgz",
|
||||
"integrity": "sha512-TRzzuFRRmEoSW/p1KVAmiOgPco2Irlah+bGFCeNfJXxxYGwSw7YwAOAcd7X28K/m5bjBWKsC29KyoMfHbypayg==",
|
||||
"dev": true
|
||||
},
|
||||
"punycode": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
|
||||
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
|
||||
"dev": true
|
||||
},
|
||||
"string-builder": {
|
||||
"version": "0.1.8",
|
||||
"resolved": "https://registry.npmjs.org/string-builder/-/string-builder-0.1.8.tgz",
|
||||
"integrity": "sha512-0pUtikmhChLaf+uLqzYTgzTCQc4jAjaWHolxPGq3D77SgSoTqkOlv0RVF3XwDxMR9x/y1WPPwkTNalZCA9DGnQ==",
|
||||
"dev": true
|
||||
},
|
||||
"topo": {
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/topo/-/topo-3.0.3.tgz",
|
||||
"integrity": "sha512-IgpPtvD4kjrJ7CRA3ov2FhWQADwv+Tdqbsf1ZnPUSAtCJ9e1Z44MmoSGDXGk4IppoZA7jd/QRkNddlLJWlUZsQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"hoek": "6.x.x"
|
||||
},
|
||||
"dependencies": {
|
||||
"hoek": {
|
||||
"version": "6.1.3",
|
||||
"resolved": "https://registry.npmjs.org/hoek/-/hoek-6.1.3.tgz",
|
||||
"integrity": "sha512-YXXAAhmF9zpQbC7LEcREFtXfGq5K1fmd+4PHkBq8NUqmzW3G+Dq10bI/i0KucLRwss3YYFQ0fSfoxBZYiGUqtQ==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"watch": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/watch/-/watch-1.0.2.tgz",
|
||||
@ -40,6 +134,17 @@
|
||||
"exec-sh": "^0.2.0",
|
||||
"minimist": "^1.2.0"
|
||||
}
|
||||
},
|
||||
"xml2json": {
|
||||
"version": "0.12.0",
|
||||
"resolved": "https://registry.npmjs.org/xml2json/-/xml2json-0.12.0.tgz",
|
||||
"integrity": "sha512-EPJHRWJnJUYbJlzR4pBhZODwWdi2IaYGtDdteJi0JpZ4OD31IplWALuit8r73dJuM4iHZdDVKY1tLqY2UICejg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"hoek": "^4.2.1",
|
||||
"joi": "^13.1.2",
|
||||
"node-expat": "^2.3.18"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -21,8 +21,8 @@
|
||||
"build:assets-woz": "node ./tools/png2iigs.js ./assets/woz.png ./emu/bg1a.bin --start-index 6 && node ./tools/pngtoiigs.js ./assets/woz-shifted.png ./emu/bg1b.bin --start-index 6 && node ./tools/pngtoiigs.js ./assets/donut-plains-1-6-color.png ./emu/fg1.bin",
|
||||
"build:assets-woz-fatbits": "node ./tools/png2iigs.js ./assets/woz-pixelated.png ./emu/bg1a.bin --start-index 6 && node ./tools/pngtoiigs.js ./assets/woz-shifted.png ./emu/bg1b.bin --start-index 6 && node ./tools/pngtoiigs.js ./assets/donut-plains-1-6-color.png ./emu/fg1.bin",
|
||||
"build:assets-color-cycle": "node ./tools/png2iigs.js ./assets/rotopattern.png ./emu/bg1a.bin --start-index 6 && node ./tools/pngtoiigs.js ./assets/woz-shifted.png ./emu/bg1b.bin --start-index 6 && node ./tools/pngtoiigs.js ./assets/donut-plains-1-6-color.png ./emu/fg1.bin",
|
||||
"build:map": "node ./tools/tiled2iigs.js ./assets/tiled/world_1-1.json > ./src/Level.s",
|
||||
"build:tiles": "node ./tools/png2iigs.js ./assets/tilesets/smb-16.png --as-tile-data > src/App.Tile.s"
|
||||
"build:map": "node ./tools/tiled2iigs.js ./assets/tiled/world_1-1.json --output-dir ./src",
|
||||
"build:tiles": "node ./tools/png2iigs.js ./assets/tilesets/smb-16.png --as-tile-data > src/App.TileSet.s"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -36,6 +36,8 @@
|
||||
"homepage": "https://github.com/lscharen/iigs-game-engine#readme",
|
||||
"devDependencies": {
|
||||
"pngjs": "^6.0.0",
|
||||
"watch": "latest"
|
||||
"string-builder": "^0.1.8",
|
||||
"watch": "latest",
|
||||
"xml2json": "^0.12.0"
|
||||
}
|
||||
}
|
||||
|
@ -1275,7 +1275,9 @@ qtRec adrl $0000
|
||||
put blitter/Vert.s
|
||||
put blitter/BG1.s
|
||||
PUT TileMap.s
|
||||
PUT Level.s
|
||||
PUT App.TileMapBG0.s
|
||||
PUT App.TileMapBG1.s
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,19 +1,21 @@
|
||||
|
||||
; Tiled Map Export
|
||||
;
|
||||
; This is a generated file. Do not modify.
|
||||
|
||||
BG0SetUp
|
||||
|
||||
BG1SetUp
|
||||
lda #256
|
||||
sta TileMapWidth
|
||||
sta BG1TileMapWidth
|
||||
lda #30
|
||||
sta TileMapHeight
|
||||
lda #Tile_Layer_1
|
||||
sta TileMapPtr
|
||||
lda #^Tile_Layer_1
|
||||
sta TileMapPtr+2
|
||||
sta BG1TileMapHeight
|
||||
lda #App_TileMapBG0
|
||||
sta BG1TileMapPtr
|
||||
lda #^App_TileMapBG0
|
||||
sta BG1TileMapPtr+2
|
||||
rts
|
||||
|
||||
Tile_Layer_1
|
||||
App_TileMapBG0
|
||||
dw 41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41
|
||||
dw 41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41
|
||||
dw 41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41
|
||||
@ -384,7 +386,7 @@ Tile_Layer_1
|
||||
dw 41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41
|
||||
dw 41,41,56,21,21,21,21,59,41,41,41,41,41,41,41,41
|
||||
dw 41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41
|
||||
dw 41,41,57,58,41,41,41,41,41,41,41,41,41,41,41,41
|
||||
dw 41,41,57,2147483705,41,41,41,41,41,41,41,41,41,41,41,41
|
||||
dw 41,41,41,41,41,41,41,41,15,16,17,18,41,41,41,41
|
||||
dw 41,41,41,41,41,41,41,41,41,41,41,41,19,20,21,22
|
||||
dw 41,41,41,41,41,41,41,41,41,41,41,41,19,20,21,22
|
||||
@ -400,7 +402,7 @@ Tile_Layer_1
|
||||
dw 41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41
|
||||
dw 41,56,21,62,21,21,62,21,59,41,41,41,41,41,41,41
|
||||
dw 41,41,41,41,41,41,41,41,42,43,42,43,42,43,41,41
|
||||
dw 41,56,21,62,59,41,41,41,41,41,41,41,41,41,41,41
|
||||
dw 41,56,21,62,2147483704,41,41,41,41,41,41,41,41,41,41,41
|
||||
dw 42,43,41,41,41,41,41,41,19,20,21,22,41,41,41,41
|
||||
dw 41,41,41,41,41,41,41,41,41,41,41,41,19,20,21,22
|
||||
dw 41,41,41,41,42,43,42,43,41,41,41,41,19,20,21,22
|
||||
@ -416,7 +418,7 @@ Tile_Layer_1
|
||||
dw 41,41,41,41,41,41,41,41,41,41,41,41,41,41,41,41
|
||||
dw 56,21,21,21,21,21,21,21,21,59,41,41,41,41,41,41
|
||||
dw 41,41,41,41,41,41,41,44,45,45,45,45,45,45,46,41
|
||||
dw 56,21,21,21,21,59,41,41,41,41,41,41,41,41,41,44
|
||||
dw 56,21,21,21,21,2147483704,41,41,41,41,41,41,41,41,41,44
|
||||
dw 45,45,46,41,41,41,41,41,19,20,21,22,41,41,41,41
|
||||
dw 41,41,41,41,41,41,41,41,41,41,41,41,19,20,21,22
|
||||
dw 41,41,41,44,45,45,45,45,46,41,41,41,19,20,21,22
|
||||
@ -493,4 +495,4 @@ Tile_Layer_1
|
||||
dw 3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4
|
||||
dw 3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4
|
||||
dw 3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4
|
||||
dw 3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4
|
||||
dw 3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4
|
498
src/App.TileMapBG1.s
Normal file
498
src/App.TileMapBG1.s
Normal file
@ -0,0 +1,498 @@
|
||||
|
||||
; Tiled Map Export
|
||||
;
|
||||
; This is a generated file. Do not modify.
|
||||
|
||||
|
||||
BG0SetUp
|
||||
lda #256
|
||||
sta TileMapWidth
|
||||
lda #30
|
||||
s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w 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
2180
src/App.TileSet.s
Normal file
2180
src/App.TileSet.s
Normal file
File diff suppressed because it is too large
Load Diff
15
src/App.s
15
src/App.s
@ -1,22 +1,22 @@
|
||||
; IIgs Game Engine
|
||||
|
||||
TYP $B3 ; S16 file
|
||||
TYP $B3 ; S16 file
|
||||
DSK GTETestApp
|
||||
XPL
|
||||
|
||||
; Segment #1 -- Main execution block
|
||||
|
||||
ASM App.Main.s
|
||||
DS 0 ; Number of bytes of 0's to add at the end of the Segment
|
||||
KND #$1100 ; Type and Attributes ($11=Static+Bank Relative,$00=Code)
|
||||
ALI None ; Boundary Alignment (None)
|
||||
DS 0 ; Number of bytes of 0's to add at the end of the Segment
|
||||
KND #$1100 ; Type and Attributes ($11=Static+Bank Relative,$00=Code)
|
||||
ALI None ; Boundary Alignment (None)
|
||||
SNA Main
|
||||
|
||||
; Segment #2 -- 64KB Tile Memory
|
||||
|
||||
ASM App.Tile.s
|
||||
ASM App.TileSet.s
|
||||
DS 0
|
||||
KND #$1001 ; Type and Attributes ($11=Static+Bank Relative,$01=Data)
|
||||
KND #$1001 ; Type and Attributes ($11=Static+Bank Relative,$01=Data)
|
||||
; ALI BANK
|
||||
SNA Tiles
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
|
||||
ASM RotData.s
|
||||
DS 0
|
||||
KND #$1001 ; Type and Attributes ($11=Static+Bank Relative,$01=Data)
|
||||
KND #$1001 ; Type and Attributes ($11=Static+Bank Relative,$01=Data)
|
||||
ALI BANK
|
||||
SNA RotData
|
||||
|
||||
|
@ -51,7 +51,11 @@ TileMapWidth equ 70
|
||||
TileMapHeight equ 72
|
||||
TileMapPtr equ 74
|
||||
|
||||
Next equ 78
|
||||
BG1TileMapWidth equ 78
|
||||
BG1TileMapHeight equ 80
|
||||
BG1TileMapPtr equ 82
|
||||
|
||||
Next equ 86
|
||||
|
||||
BankLoad equ 128
|
||||
|
||||
@ -84,3 +88,4 @@ DIRTY_BIT_BG0_REFRESH equ $0010
|
||||
DIRTY_BIT_BG1_REFRESH equ $0020
|
||||
|
||||
|
||||
|
||||
|
@ -334,10 +334,10 @@ CopyTileMemV
|
||||
; LDA 00,x / PHA where the operand is fixed when the tile is rendered
|
||||
; $B5 $00 $48
|
||||
;
|
||||
; A = dynamic tile id (must be an 8-bit value)
|
||||
; A = dynamic tile id (must be <32)
|
||||
|
||||
DynTile
|
||||
and #$00FF
|
||||
DynamicTile
|
||||
and #$007F ; clamp to < (32 * 4)
|
||||
ora #$4800
|
||||
sta: $0004,y
|
||||
sta $1004,y
|
||||
@ -379,6 +379,104 @@ DynTile
|
||||
rep #$20
|
||||
rts
|
||||
|
||||
; Helper function to copy tile data to the appropriate location in Bank 0
|
||||
; X = address of tile
|
||||
; Y = tile address in bank 0
|
||||
CopyTileDToDyn
|
||||
phb
|
||||
pea $0000
|
||||
plb
|
||||
plb
|
||||
|
||||
ldal tiledata+0,x
|
||||
sta: $0000,y
|
||||
ldal tiledata+2,x
|
||||
sta: $0002,y
|
||||
ldal tiledata+4,x
|
||||
sta $0100,y
|
||||
ldal tiledata+6,x
|
||||
sta $0102,y
|
||||
ldal tiledata+8,x
|
||||
sta $0200,y
|
||||
ldal tiledata+10,x
|
||||
sta $0202,y
|
||||
ldal tiledata+12,x
|
||||
sta $0300,y
|
||||
ldal tiledata+14,x
|
||||
sta $0302,y
|
||||
ldal tiledata+16,x
|
||||
sta $0400,y
|
||||
ldal tiledata+18,x
|
||||
sta $0402,y
|
||||
ldal tiledata+20,x
|
||||
sta $0500,y
|
||||
ldal tiledata+22,x
|
||||
sta $0502,y
|
||||
ldal tiledata+24,x
|
||||
sta $0600,y
|
||||
ldal tiledata+26,x
|
||||
sta $0602,y
|
||||
ldal tiledata+28,x
|
||||
sta $0700,y
|
||||
ldal tiledata+30,x
|
||||
sta $0702,y
|
||||
|
||||
plb
|
||||
rts
|
||||
|
||||
; Helper function to copy tile mask to the appropriate location in Bank 0
|
||||
;
|
||||
; X = address of tile
|
||||
; Y = tile address in bank 0
|
||||
;
|
||||
; Argument are the same as CopyTileDToDyn, the code takes care of adjust offsets.
|
||||
; This make is possible to call the two functions back-to-back
|
||||
;
|
||||
; ldx tileAddr
|
||||
; ldy dynTileAddr
|
||||
; jsr CopyTileDToDyn
|
||||
; jsr CopyTileMToDyn
|
||||
CopyTileMToDyn
|
||||
phb
|
||||
pea $0000
|
||||
plb
|
||||
plb
|
||||
|
||||
ldal tiledata+32+0,x
|
||||
sta: $0080,y
|
||||
ldal tiledata+32+2,x
|
||||
sta: $0082,y
|
||||
ldal tiledata+32+4,x
|
||||
sta $0180,y
|
||||
ldal tiledata+32+6,x
|
||||
sta $0182,y
|
||||
ldal tiledata+32+8,x
|
||||
sta $0280,y
|
||||
ldal tiledata+32+10,x
|
||||
sta $0282,y
|
||||
ldal tiledata+32+12,x
|
||||
sta $0380,y
|
||||
ldal tiledata+32+14,x
|
||||
sta $0382,y
|
||||
ldal tiledata+32+16,x
|
||||
sta $0480,y
|
||||
ldal tiledata+32+18,x
|
||||
sta $0482,y
|
||||
ldal tiledata+32+20,x
|
||||
sta $0580,y
|
||||
ldal tiledata+32+22,x
|
||||
sta $0582,y
|
||||
ldal tiledata+32+24,x
|
||||
sta $0680,y
|
||||
ldal tiledata+32+26,x
|
||||
sta $0682,y
|
||||
ldal tiledata+32+28,x
|
||||
sta $0780,y
|
||||
ldal tiledata+32+30,x
|
||||
sta $0782,y
|
||||
|
||||
plb
|
||||
rts
|
||||
|
||||
; This should never be called, because empty control value should be fast-pathed
|
||||
solid
|
||||
@ -430,6 +528,13 @@ masked_hvflip
|
||||
brl CopyTileMemMV
|
||||
|
||||
dynamic
|
||||
plx
|
||||
pla
|
||||
asl
|
||||
asl
|
||||
xba ; Undo the x128 we just need x2
|
||||
brl DynamicTile
|
||||
|
||||
dyn_masked
|
||||
plx
|
||||
pla
|
||||
@ -512,6 +617,23 @@ CopyTile
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user