mirror of
https://github.com/irmen/prog8.git
synced 2024-12-25 08:29:25 +00:00
cleanups
This commit is contained in:
parent
809917f13b
commit
fe4e0e9835
@ -4,9 +4,6 @@
|
|||||||
|
|
||||||
main {
|
main {
|
||||||
|
|
||||||
const uword width = 255
|
|
||||||
const uword height = 200
|
|
||||||
|
|
||||||
; vertices
|
; vertices
|
||||||
word[] xcoor = [ -100, -100, -100, -100, 100, 100, 100, 100 ]
|
word[] xcoor = [ -100, -100, -100, -100, 100, 100, 100, 100 ]
|
||||||
word[] ycoor = [ -100, -100, 100, 100, -100, -100, 100, 100 ]
|
word[] ycoor = [ -100, -100, 100, 100, -100, -100, 100, 100 ]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; CommanderX16 text clock example!
|
; CommanderX16 simple graphics example!
|
||||||
; make sure to compile with the cx16 compiler target.
|
; make sure to compile with the cx16 compiler target.
|
||||||
|
|
||||||
%zeropage basicsafe
|
%zeropage basicsafe
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
main {
|
main {
|
||||||
const uword width = 256
|
const uword width = 256
|
||||||
const uword height = 200
|
const uword height = 200
|
||||||
const ubyte max_iter = 16 ; 32 looks pretty nice
|
const ubyte max_iter = 16 ; 32 actually looks pretty nice but takes longer
|
||||||
|
|
||||||
sub start() {
|
sub start() {
|
||||||
initialize()
|
initialize()
|
||||||
|
@ -8,28 +8,6 @@ main {
|
|||||||
|
|
||||||
sub start() {
|
sub start() {
|
||||||
|
|
||||||
; %asm {{
|
|
||||||
; lda #$80
|
|
||||||
; jsr cx16.screen_set_mode
|
|
||||||
; }}
|
|
||||||
; cx16.r0=0
|
|
||||||
; cx16.GRAPH_init()
|
|
||||||
; %asm {{
|
|
||||||
; lda #4
|
|
||||||
; ldy #0
|
|
||||||
; ldx #1
|
|
||||||
; jsr cx16.GRAPH_set_colors
|
|
||||||
; }}
|
|
||||||
; cx16.GRAPH_clear()
|
|
||||||
; cx16.r0=10
|
|
||||||
; cx16.r1=10
|
|
||||||
; cx16.r2=100
|
|
||||||
; cx16.r3=150
|
|
||||||
; cx16.GRAPH_draw_line()
|
|
||||||
;
|
|
||||||
; repeat {
|
|
||||||
; }
|
|
||||||
|
|
||||||
cx16.r0 = mkword(8, 2020 - 1900)
|
cx16.r0 = mkword(8, 2020 - 1900)
|
||||||
cx16.r1 = mkword(19, 27)
|
cx16.r1 = mkword(19, 27)
|
||||||
cx16.r2 = mkword(0, 16)
|
cx16.r2 = mkword(0, 16)
|
||||||
|
Loading…
Reference in New Issue
Block a user