Jump to content
IGNORED

Where does the error in stella come from?


Recommended Posts

Hi good afternoon.


Where does the error in stella come from?

Why is the size 0 byte of the program .a26



dasm %1.asm -f3 -v0 -I%bB%\Includes -s%1.sym -l%1.lst -o%1.a26


Thank you.

greeting




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...


sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

; 192 scanlines of picture...


ldx #0

REPEAT 192; scanlines

inx

stx COLUBK

sta WSYNC

REPEND

lda #%01000010

sta VBLANK ; end of screen - enter blanking

; 30 scanlines of overscan...

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

sta WSYNC

jmp StartOfFrame

ORG $FFFA

.word Reset ; NMI

.word Reset ; RESET

.word Reset ; IRQ

END

post-31221-0-57232500-1490285455_thumb.jpg

Edited by funkheld
Link to comment
Share on other sites

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...