Subject: [stella] macro.h submission From: Manuel Polik <cybergoth@xxxxxxxx> Date: Fri, 13 Jun 2003 23:44:59 +0200 |
Hi there! It's dead simple, but yet so common code that everybody can make good use of this macro: ;------------------------------------------------------- ; VERTICAL_SYNC ; Original author: Manuel Polik ; Inserts the code required for a proper 3 scannline ; vertical sync sequence ; ; Note: Alters the accumulator ; ; IN: ; OUT: A = 1 MAC VERTICAL_SYNC LDA #$02 ; A = VSYNC enable STA WSYNC ; Finish current line STA VSYNC ; Start vertical sync STA WSYNC ; 1st line vertical sync STA WSYNC ; 2nd line vertical sync LSR ; A = VSYNC disable STA WSYNC ; 3rd line vertical sync STA VSYNC ; Stop vertical sync ENDM Greetings, Manuel ---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[stella] Star Fire Release Candidat, Manuel Polik | Thread | RE: [stella] macro.h submission, Dennis Debro |
[stella] Star Fire Release Candidat, Manuel Polik | Date | RE: [stella] macro.h submission, Dennis Debro |
Month |