base:assembling_your_own_cart_rom_image
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
base:assembling_your_own_cart_rom_image [2016-05-15 10:50] – CBM80 Autostart Cartridge developed with DreamAss csanyipal | base:assembling_your_own_cart_rom_image [2016-05-15 17:27] – [CBM80 Autostart Cartridge developed with DreamAss] csanyipal | ||
---|---|---|---|
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 301: | Line 294: | ||
inx | inx | ||
plp | plp | ||
- | | + | |
- | ldx #0 | + | done1: |
- | write2: | + | |
- | lda txt2,x | + | |
- | php | + | |
- | and #$7f | + | |
- | jsr $ffd2 | + | |
- | inx | + | |
- | plp | + | |
- | bpl write2 | + | |
- | ldx #0 | + | |
- | write3: | + | |
- | lda txt3,x | + | |
- | php | + | |
- | and #$7f | + | |
- | jsr $ffd2 | + | |
- | inx | + | |
- | plp | + | |
- | bpl write3 | + | |
rts | rts | ||
txt1: | txt1: | ||
- | .pet 13," | + | .pet 13," |
- | txt2: | + | |
- | .pet " is 8kb of size", | + | |
- | txt3: | + | |
- | .pet " informations about my cartridge", | + | |
</ | </ | ||
- | 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.txt · Last modified: 2017-06-30 18:35 by marvin