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 10:50] – 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 270: Line 270:
     jsr $ff5b                           ; CINT   - Init VIC and screen editor     jsr $ff5b                           ; CINT   - Init VIC and screen editor
     cli                                 ; Re-enable IRQ interrupts     cli                                 ; Re-enable IRQ interrupts
- 
-;       BASIC RESET  Routine 
-    jsr $e453                           ; Init BASIC RAM vectors 
-    jsr $e3bf                           ; Main BASIC RAM Init routine 
-    jsr $e422                           ; Power-up message / NEW command 
-    ldx #$fb 
-    txs                                 ; Reduce stack pointer for BASIC 
  
 warmstart: warmstart:
Line 296: Line 289:
 write1: write1:
     lda txt1,x     lda txt1,x
-    php +    beq done1
-    and #$7f +
-    jsr $ffd2 +
-    inx +
-    plp +
-    bpl write1 +
-    ldx #0 +
-write2: +
-    lda txt2,x +
-    php +
-    and #$7f +
-    jsr $ffd2 +
-    inx +
-    plp +
-    bpl write2 +
-    ldx #0 +
-write3: +
-    lda txt3,x +
-    php +
-    and #$7f+
     jsr $ffd2     jsr $ffd2
     inx     inx
-    plp +    bne write1 
-    bpl write3+done1:
     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+
 </code> </code>
-When start it in x64sc it printed text again and again on the screen. 
-Just do not understand, why? 
base/assembling_your_own_cart_rom_image.1463302220.txt.gz · Last modified: 2016-05-15 10:50 by csanyipal