Just checking!
Posted Wed Jun 11, 2008 6:42 PM
Posted Wed Jun 11, 2008 6:51 PM
Posted Wed Jun 11, 2008 9:03 PM
Posted Wed Jun 11, 2008 10:33 PM
Posted Thu Jun 12, 2008 7:56 AM
Posted Fri Jun 13, 2008 12:17 AM
Posted Fri Jun 13, 2008 9:36 PM
Posted Fri Jun 13, 2008 10:32 PM
MausGames, on Fri Jun 13, 2008 11:36 PM, said:
Posted Fri Jun 13, 2008 10:51 PM
Posted Sat Jun 14, 2008 12:33 PM
processor 6502
include "vcs.h"
include "macro.h"
;------------------------------------------------------------
SEG
ORG $F000
Reset
; Clear RAM and all TIA registers
ldx #0
lda #0
Clear sta 0,x
inx
bne Clear
StartOfFrame
; Start of vertical blank processing
lda #0
sta VBLANK
lda #2
sta VSYNC
sta WSYNC
sta WSYNC
sta WSYNC ; 3 scanlines of VSYNC signal
lda #0
sta VSYNC
; 37 scanlines of vertical blank...
ldx #0
VerticalBlank sta WSYNC
inx
cpx #37
bne VerticalBlank
; 192 scanlines of picture...
ldx #0
Picture
SLEEP 20 ; adjust as required!
inx
stx COLUBK
SLEEP 2 ; adjust as required!
txa
eor #$FF
sta COLUBK
sta WSYNC
cpx #192
bne Picture
lda #%01000010
sta VBLANK ; end of screen - enter blanking
; 30 scanlines of overscan...
ldx #0
Overscan sta WSYNC
inx
cpx #30
bne Overscan
jmp StartOfFrame
;------------------------------------------------------------
ORG $FFFA
InterruptVectors
.word Reset ; NMI
.word Reset ; RESET
.word Reset ; IRQ
END
Posted Sat Jun 14, 2008 2:40 PM
Posted Sat Jun 14, 2008 3:40 PM
---------- Capture Output ----------
> "C:\AtariVCS\bB\2600bas.bat" C:\AtariVCS\bB\kernel_L15
(1) Parse error: unrecognized character ";"
2600 Basic compilation complete.
DASM V2.20.07, Macro Assembler ©1988-2003
bytes of ROM space left
2829 bytes of ROM space left
Complete.
> Terminated with exit code 0.
Posted Sat Jun 14, 2008 7:48 PM
asm Reset ; Clear RAM and all TIA registers ldx #0 lda #0 Clear sta 0,x inx bne Clear StartOfFrame ; Start of vertical blank processing lda #0 sta VBLANK lda #2 sta VSYNC sta WSYNC sta WSYNC sta WSYNC; 3 scanlines of VSYNC signal lda #0 sta VSYNC ; 37 scanlines of vertical blank... ldx #0 VerticalBlank sta WSYNC inx cpx #37 bne VerticalBlank ; 192 scanlines of picture... ldx #0 Picture SLEEP 20; adjust as required! inx stx COLUBK SLEEP 2; adjust as required! txa eor #$FF sta COLUBK sta WSYNC cpx #192 bne Picture lda #%01000010 sta VBLANK; end of screen - enter blanking ; 30 scanlines of overscan... ldx #0 Overscan sta WSYNC inx cpx #30 bne Overscan jmp StartOfFrame end
0 members, 0 guests, 0 anonymous users