Jump to content
IGNORED

DASM compile error - unresolved symbol list FrameStart


Joe Stella

Recommended Posts

Hi guys, just taking some baby steps here, and ran into a compiler error. I've typed in Chester's example "Hello World" program (sorta), and am getting the above error during the compile. I don't know what the referenced part of the code is supposed to do, and I haven't been able to find any references here or on google.

 

Any suggestions are appreciated.

 

PROCESSOR 6502
INCLUDE "vcs.h"
INCLUDE "macro.h"
ORG $F000 ; Cart begins here
StartFrame:
lda #%00000010 ; Signbal VSYNC start by
sta VSYNC ; setting bit 1
REPEAT 3 ; last 3 sanlines
sta WSYNC ; (WSYNC = wait until
REPEND ; scanline is finished)
lda #0 ; Signal VSYNC end (and
sta VSYNC ; VBLANK start)
PreparePlayfield:
lda #$00
sta ENABL ; Disable ball
sta ENAM0 ; Disable missles
sta ENAM1
sta GRP0 ; Disable players
sta GRP1 ; (with a 0s - only shape)
REPEAT 37 ; VBLANK lasts 37 scanlines
sta WSYNC ; (useful for game logic)
REPEND
lda #0
sta VBLANK
Scanline:
cpx #174 ; Phrase over?
bcs ScanlineEnd; if so, skip
txa ; Y=X/2 (logic shift ->
lsr ; divides A by 2)
tay
lda Phrase,y ; label,Y = mem[label+Y]
sta PF1 ; PF1 = playfield (bits
; 4 to 11)
ScanlineEnd:
sta WSYNC ; Finish current scanline
inx ; X=line counter
cpx #191 ; last visible scanline?
bne Scanline ; unless so, repeat!
Overscan:
lda #$00000010 ; "turn off" beam again
sta VBLANK ; 30 scanlines of
REPEAT 30 ; overscan...
sta WSYNC
REPEND
jmp StartFrame ; ... and start it over
; infinity.
Phrase:
.BYTE %00000000
.BYTE %11111111
.BYTE %10000001
.BYTE %10000001
.BYTE %10000001
.BYTE %11111111
.BYTE %00000000
ORG $FFFA ; Located at the end
; of ROM (cart)
.WORD FrameStart ; NMI address
.WORD FrameStart ; BOOT address
.WORD FrameStart ; BRK address
END
the compiler output is:
C:\Users\User\Desktop\dasm-2.20.11\bin>dasm source.asm -ocart.bin -f3
--- Unresolved Symbol List
FrameStart 0000 ???? (R )
--- 1 Unresolved Symbol
Fatal assembly error: Source is not resolvable.

 

source.asm

Link to comment
Share on other sites

  • 10 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...