Jump to content

Pantherman

Members
  • Posts

    3
  • Joined

  • Last visited

Pantherman's Achievements

Combat Commando

Combat Commando (1/9)

0

Reputation

  1. I got the code for the Kernel this is supposed to display an image: processor 6502 include "vcs.h" include "macro.h" SEG ORG $F000 Reset StartOfFrame ; Start of vertical blank processing lda #0 sta VBLANK lda #2 sta VSYNC ; 3 scanlines of VSYNCH signal... sta WSYNC sta WSYNC sta WSYNC lda #0 sta VSYNC ; 37 scanlines of vertical blank... REPEAT 37; scanlines sta WSYNC REPEND ; 192 scanlines of picture... ldx #1 REPEAT 192; scanlines inx stx COLUBK sta WSYNC REPEND lda #%01000010 sta VBLANK; end of screen - enter blanking ; 30 scanlines of overscan... REPEAT 30 sta WSYNC REPEND jmp StartOfFrame ORG $FFFA .word Reset; NMI .word Reset; RESET .word Reset; IRQ END it creates the BIN file, and it ends up invalid with Stella saying that I might have an invalid ROM file, also DASM states that StartOfFrame and Reset are unresolvable and aborts, though it creates the file. is it becasue the code's not indendted in my PDF file that I'm readingthis from?
  2. Ok, here it is processor 6502 include "vcs.h" include "macro.h" ; 192 scanlines of picture... ldx #0 ldy #0 REPEAT 192; scanlines inx stx COLUBK nop nop nop dey sty COLUBK sta WSYNC REPEND I have included the files vcs.h and marco.h as a ZIP vcsandmarco.zip
  3. I enter this code as descreibed in the tutorial: ; 192 scanlines of picture... ldx #0 ldy #0 REPEAT 192 ; scanlines inx stx COLUBK nop nop nop dey sty COLUBK sta WSYNC REPEND I entered it (including the indentation) (Seems that the post doesn't want to keep the indentation that I gave it) and I tried everything including including processor 6502 and the include "marco.h" and include "vcs.h" and the dasm goes through 3 passes, each time saying that there is 1 event that requires another assembler pass, with obscure reason to be documented later. Howerver at the end of the 3rd pass it claims a Fatal assembley error: Source is not resolvable. What am I doing wrong?
×
×
  • Create New...