Guest User

asdf

a guest
Oct 15th, 2014
210
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .inesprg 1 ; 1 PRG Bank
  2. .ineschr 1 ; 1 CHR Bank
  3. .inesmap 0 ; Mapper 0 used
  4. .inesmir 1 ; Mirroring enabled
  5.  
  6. .rsset $0000 ; Variables start from $0000
  7. pointerLo .rs 1 ; Hi/Lo bytes for background data pointers
  8. pointerHi .rs 1
  9. counterLo .rs 1 ; Hi/Lo bytes for 16 bit counter
  10. counterHi .rs 1
  11.  
  12. .bank 0 ; PRG Bank
  13. .org $8000 ; starts from $8000
  14. RESET: ; Reset routine
  15. SEI
  16. CLD
  17. LDX #$40
  18. STX $4017
  19. LDX #$FF
  20. TXS
  21. INX
  22. STX $2000 ; Disable NMI
  23. STX $2001 ; Disable rendering
  24. STX $4010 ; Disable DPCM
  25.  
  26. VBwait1: ; First PPU warm up wait
  27. BIT $2002
  28. BPL VBwait1
  29.  
  30. ClearMem: ;Clear internal memory $0000 - $07FF
  31. LDA #$00
  32. STA $0000, x
  33. STA $0100, x
  34. STA $0200, x
  35. STA $0300, x
  36. STA $0400, x
  37. STA $0500, x
  38. STA $0600, x
  39. STA $0700, x
  40. DEX
  41. CPX #$00
  42. BNE ClearMem
  43.  
  44. VBwait2: ; Second PPU warm up wait
  45. BIT $2002
  46. BPL VBwait2
  47.  
  48. LDA $2002 ; Reset PPU Hi/Lo latch
  49. LDA #$3F ; Store Hi/Lo bytes of the palette address
  50. STA $2006
  51. LDA #$00
  52. STA $2006
  53. LDX #$00
  54.  
  55. PaletteLoad1: ; Load palettes
  56. LDA palette, x
  57. STA $2007
  58. INX
  59. CPX #$1F
  60. BNE PaletteLoad1
  61.  
  62. SetBg: ; Set up information for NMI to update background
  63. LDA #LOW(background)
  64. STA pointerLo
  65. LDA #HIGH(background)
  66. STA pointerHi
  67.  
  68. LDA #$01 ; Enable NMI for background
  69. STA $1E
  70.  
  71. LDA #%10001000 ; Enable NMI
  72. STA $2000
  73. LDA #$00
  74. STA $2005
  75. STA $2005
  76.  
  77. CheckALoop: ; Wait until A is pressed
  78. LDA $1F
  79. AND #%10000000
  80. CMP #%10000000
  81. BNE CheckALoop
  82.  
  83. LDA #LOW(background2) ; Set second background if A is pressed
  84. STA pointerLo
  85. LDA #HIGH(background2)
  86. STA pointerHi
  87.  
  88. LDA #$01 ; Enable NMI flag for background
  89. STA $1E
  90.  
  91. LDA #$80
  92. STA $0200 ; Sprite 1 Y position
  93. STA $0203 ; Sprite 1 X position
  94. STA $0204 ; Sprite 2 Y position
  95. LDA #$88
  96. STA $0207 ; Sprite 2 X position
  97. LDA #$00
  98. STA $0201 ; Sprite 1 tile number
  99. STA $0202 ; Sprite 1 attributes
  100. STA $0206 ; Sprite 2 attributes
  101. LDA #$01
  102. STA $0205 ; Sprite 2 tile number
  103.  
  104. LDA #$01 ; Enable NMI flag for sprites
  105. STA $1D
  106.  
  107. MainLoop: ; Main loop
  108. JSR MoveSpr
  109. JMP MainLoop
  110.  
  111. MoveSpr: ; Move sprite when D-pad is pressed
  112. LDA $1F
  113. AND #%00001000 ; Check Up
  114. BNE SkipUp
  115. DEC $0200 ; Decrease Y position
  116.  
  117. SkipUp:
  118. LDA $1F
  119. AND #%00000100 ; Check Up
  120. BNE SkipDown
  121. INC $0200 ; Increase Y position
  122.  
  123. SkipDown:
  124. LDA $1F
  125. AND #%00000010 ; Check Up
  126. BNE SkipLeft
  127. DEC $0203 ; Decrease X position
  128.  
  129. SkipLeft:
  130. LDA $1F
  131. AND #%00000001 ; Check Up
  132. BNE SkipRight
  133. INC $0203 ; Increase X position
  134.  
  135. SkipRight:
  136. LDA #$01 ; Enable NMI flag for sprites
  137. STA $1D
  138. RTS
  139.  
  140. ReadP1: ; Set up controller reading
  141. LDA #$01
  142. STA $4016
  143. LDA #$00
  144. STA $4016
  145. LDX #$08
  146.  
  147. ReadP1Loop: ; Read each button and roll them to ZP $1F
  148. LDA $4016
  149. AND #$01
  150. LSR A
  151. ROL $1F
  152. DEX
  153. BNE ReadP1Loop
  154. RTS
  155.  
  156. NMI:
  157. PHA ; Push Accumulator, X register and Y register to Stack
  158. TXA
  159. PHA
  160. TYA
  161. PHA
  162. LDX $1E
  163. CPX #$01
  164. BNE SkipBg ; Check if NMI flag $1E is set
  165.  
  166. FlagSet: ; Set up background update
  167. LDA #$00 ; Disable Rendering
  168. STA $2001
  169.  
  170. LDA $2002 ; Reset PPU Hi/Lo latch
  171. LDA #$20 ; Store Hi/Lo bytes of the background nametables
  172. STA $2006
  173. LDA #$00
  174. STA $2006
  175. LDY #$00
  176. LDX #$04
  177.  
  178. LDA #%00001000 ; Disable NMI
  179. STA $2000
  180.  
  181. BgLoop: ; 16 bit loop for drawing background and loading attributes
  182. LDA [pointerLo], y
  183. STA $2007
  184. INY
  185. BNE BgLoop
  186. INC pointerHi
  187. DEX
  188. BNE BgLoop
  189.  
  190. LDA #$00
  191. STA $1E ; Clear NMI flag for background
  192.  
  193. SkipBg:
  194. LDX $1D ; Check sprite updates
  195. CPX #$01
  196. BNE SkipSprites
  197.  
  198. SpriteUpdate: ; Set up sprite update
  199. LDA #%00001000 ; Disable NMI
  200. STA $2000
  201. LDA #$00 ; Disable Rendering
  202. STA $2001
  203.  
  204. LDA #$00 ; Low byte for sprite memory start
  205. STA $2003
  206. LDA #02 ; High byte for sprite memory start
  207. STA $4014
  208. LDA #$00 ; Clear NMI flag for sprites
  209. STA $1D
  210.  
  211. SkipSprites:
  212. LDA #%10001000 ; Enable NMI
  213. STA $2000
  214. JMP ExitNMI ; End NMI
  215.  
  216. FlagClear: ; Read controller and draw background
  217. LDA #%00011110 ; Enable rendering
  218. STA $2001
  219. LDA #$00
  220. STA $2005
  221. STA $2005
  222.  
  223. ExitNMI:
  224. JSR ReadP1
  225. PLA ; Pull Accumulator, X register and Y register from Stack
  226. TAY
  227. PLA
  228. TAX
  229. PLA
  230. RTI ; End NMI
  231.  
  232. background:
  233. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 00 - Row 1
  234. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 01 - Row 1
  235. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 02 - Row 2
  236. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 03 - Row 2
  237. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 04 - Row 3
  238. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 05 - Row 3
  239. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 06 - Row 4
  240. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 07 - Row 4
  241. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 08 - Row 5
  242. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 09 - Row 5
  243. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 0A - Row 6
  244. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 0B - Row 6
  245. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 0C - Row 7
  246. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 0D - Row 7
  247. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 0E - Row 8
  248. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 0F - Row 8
  249. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 10 - Row 9
  250. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 11 - Row 9
  251. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 12 - Row 10
  252. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 13 - Row 10
  253. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 14 - Row 11
  254. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 15 - Row 11
  255. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 16 - Row 12
  256. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 17 - Row 12
  257. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 18 - Row 13
  258. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 19 - Row 13
  259. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 1A - Row 14
  260. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 1B - Row 14
  261. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 1C - Row 15
  262. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 1D - Row 15
  263. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$19,$1B,$0E,$1C ; 1E - Row 16
  264. .db $1C,$30,$0A,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 1F - Row 16
  265. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 20 - Row 17
  266. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 21 - Row 17
  267. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 22 - Row 18
  268. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 23 - Row 18
  269. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 24 - Row 19
  270. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 25 - Row 19
  271. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 26 - Row 20
  272. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 27 - Row 20
  273. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 28 - Row 21
  274. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 29 - Row 21
  275. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 2A - Row 22
  276. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 2B - Row 22
  277. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 2C - Row 23
  278. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 2D - Row 23
  279. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 2E - Row 24
  280. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 2F - Row 24
  281. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 30 - Row 25
  282. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 31 - Row 25
  283. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 32 - Row 26
  284. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 33 - Row 26
  285. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 34 - Row 27
  286. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 35 - Row 27
  287. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 36 - Row 28
  288. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 37 - Row 28
  289. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 38 - Row 29
  290. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 39 - Row 29
  291. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 3A - Row 30
  292. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 3B - Row 30
  293.  
  294. attributes:
  295. .db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
  296. .db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
  297.  
  298. background2:
  299. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 00 - Row 1
  300. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 01 - Row 1
  301. .db $30,$11,$0E,$15,$15,$18,$30,$20,$18,$1B,$15,$0D,$30,$30,$30,$30 ; 02 - Row 2
  302. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 03 - Row 2
  303. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 04 - Row 3
  304. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 05 - Row 3
  305. .db $30,$16,$22,$30,$17,$0A,$16,$0E,$30,$12,$1C,$30,$17,$16,$18,$1C ; 06 - Row 4
  306. .db $30,$06,$05,$00,$02,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 07 - Row 4
  307. .db $30,$12,$30,$0A,$16,$30,$1D,$11,$0E,$30,$19,$1B,$18,$0C,$0E,$1C ; 08 - Row 5
  308. .db $1C,$18,$1B,$30,$12,$17,$1C,$12,$0D,$0E,$30,$30,$30,$30,$30,$30 ; 09 - Row 5
  309. .db $30,$1D,$11,$12,$1C,$30,$1C,$22,$1C,$1D,$0E,$16,$30,$30,$30,$30 ; 0A - Row 6
  310. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 0B - Row 6
  311. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 0C - Row 7
  312. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 0D - Row 7
  313. .db $30,$12,$30,$0A,$16,$30,$17,$18,$1D,$30,$1C,$1E,$12,$1D,$0A,$0B ; 0E - Row 8
  314. .db $15,$0E,$30,$0F,$18,$1B,$30,$19,$15,$0A,$22,$12,$17,$10,$30,$30 ; 0F - Row 8
  315. .db $30,$1D,$18,$1E,$11,$18,$1E,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 10 - Row 9
  316. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 11 - Row 9
  317. .db $30,$20,$0A,$22,$30,$1D,$18,$18,$30,$16,$0A,$17,$22,$30,$1C,$19 ; 12 - Row 10
  318. .db $1B,$12,$1D,$0E,$1C,$30,$0F,$18,$1B,$30,$16,$0E,$30,$30,$30,$30 ; 13 - Row 10
  319. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 14 - Row 11
  320. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 15 - Row 11
  321. .db $30,$0A,$17,$0D,$30,$0C,$12,$1B,$17,$18,$30,$12,$1C,$30,$1D,$18 ; 16 - Row 12
  322. .db $18,$30,$0D,$1E,$16,$0B,$30,$1D,$18,$30,$30,$30,$30,$30,$30,$30 ; 17 - Row 12
  323. .db $30,$1E,$17,$0D,$0E,$1B,$1C,$1D,$0A,$17,$0D,$30,$16,$22,$30,$18 ; 18 - Row 13
  324. .db $19,$0C,$18,$0D,$0E,$1C,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 19 - Row 13
  325. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 1A - Row 14
  326. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 1B - Row 14
  327. .db $30,$EE,$EF,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 1C - Row 15
  328. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 1D - Row 15
  329. .db $30,$FE,$FF,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 1E - Row 16
  330. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 1F - Row 16
  331. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 20 - Row 17
  332. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 21 - Row 17
  333. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 22 - Row 18
  334. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 23 - Row 18
  335. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 24 - Row 19
  336. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 25 - Row 19
  337. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 26 - Row 20
  338. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 27 - Row 20
  339. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 28 - Row 21
  340. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 29 - Row 21
  341. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 2A - Row 22
  342. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 2B - Row 22
  343. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 2C - Row 23
  344. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 2D - Row 23
  345. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 2E - Row 24
  346. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 2F - Row 24
  347. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 30 - Row 25
  348. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 31 - Row 25
  349. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 32 - Row 26
  350. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 33 - Row 26
  351. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 34 - Row 27
  352. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 35 - Row 27
  353. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 36 - Row 28
  354. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 37 - Row 28
  355. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 38 - Row 29
  356. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 39 - Row 29
  357. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 3A - Row 30
  358. .db $30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30 ; 3B - Row 30
  359.  
  360. attributes2:
  361. .db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
  362. .db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
  363.  
  364. palette:
  365. .db $0F,$31,$21,11
  366. .db $0F,$31,$21,11
  367. .db $0F,$31,$21,11
  368. .db $0F,$31,$21,11
  369. .db $0F,$31,$21,11
  370. .db $0F,$31,$21,11
  371. .db $0F,$31,$21,11
  372. .db $0F,$31,$21,11
  373.  
  374. .bank 1
  375. .org $FFFA
  376. .dw NMI
  377. .dw RESET
  378. .dw 0
  379.  
  380. .bank 2
  381. .org $0000
  382. .incbin "Font.chr"
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×