User Tools

Site Tools


base:assembling_your_own_cart_rom_image

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
base:assembling_your_own_cart_rom_image [2016-05-15 13:48] – [CBM80 Autostart Cartridge developed with DreamAss] csanyipalbase:assembling_your_own_cart_rom_image [2017-06-30 18:35] (current) – Missing padding in .crt header marvin
Line 83: Line 83:
 ;this is for a 8KB cart!! ;this is for a 8KB cart!!
 *=$0000 *=$0000
- .asc "C64 CARTRIDGE "+ .asc "C64 CARTRIDGE   "
  .byte $00,$00 ;header length  .byte $00,$00 ;header length
  .byte $00,$40 ;header length  .byte $00,$40 ;header length
Line 289: Line 289:
 write1: write1:
     lda txt1,x     lda txt1,x
-    php +    beq done1
-    and #$7f+
     jsr $ffd2     jsr $ffd2
     inx     inx
-    plp 
     bne write1     bne write1
-    ldx #0 +done1:
-write2: +
-    lda txt2,x +
-    php +
-    and #$7f +
-    jsr $ffd2 +
-    inx +
-    plp +
-    bne write2 +
-    ldx #0 +
-write3: +
-    lda txt3,x +
-    php +
-    and #$7f +
-    jsr $ffd2 +
-    inx +
-    plp +
-    bne write3+
     rts     rts
 txt1: txt1:
-    .pet 13,"     *** pal csanyi'cartridge ***",13,+    .pet 8,14,13,"     *** Pal Csanyi'Cartridge ***",13," is 8kb of size",13," Informations about the Cartridge",13,0
-txt2: +
-    .pet " is 8kb of size",13,+
-txt3: +
-    .pet informations about my cartridge",13,0+
 </code> </code>
base/assembling_your_own_cart_rom_image.1463312932.txt.gz · Last modified: 2016-05-15 13:48 by csanyipal