
.define     FRAMECHECK  0
.define     SHORTEST    0

FRAMEBUFFER    := $E000
TMPBUFFER      := $0200
ZP_BUFFERSIZE  := $50
NEXTPART       := $80
FEAT_MUSIC     := $80
FEAT_LOOP      := $40
FEAT_GURU      := $20
FEAT_TICK      := $10

; 0run.s
.global     music

; 0page.s
.globalzp   partindex      ; ora #$80: next part
.globalzp   subpartindex
.globalzp   features       ; $80: play music
.globalzp   frmcnt         ; 2 bytes
.globalzp   tm_hr
.globalzp   tm_min
.globalzp   tm_sec
.globalzp   tm_frc
.globalzp   irqcnt
.globalzp   nmicnt
.globalzp   vector
.globalzp   vector1
.globalzp   vector2
.globalzp   tmp8
.globalzp   lossoman_mode
.globalzp   rotable
.globalzp   bresensteps
.globalzp   charbuffer
.globalzp   localram
.globalzp   functionram
.globalzp   localramend

; 1schedule.s
.global     main
.global     reloop
.global     noprecalc
.global     schedulenext
.global     subschedule
.global     precalcstart

; 2ping.s
.global     playping

; amigaball.s
.global     amigaball

; amigaboot.s
.global     amigaboot
.global     amigaprecalc

; ballblazer.s
.global     ballblazer

; bresenham.s
.global     bresenhelp
.global     t_bresenham
.globalzp   bl_x0
.globalzp   bl_x1
.globalzp   bl_y0
.globalzp   bl_y1

; config.s
.global     calltable

; credits.s
.global     credits

; font.s
.global     getchar
.global     text_setfb
.global     text_draw

; greetings.s
.global     greetings

; guru.s
.global     guru

; intro6502.s
.global     intro6502

; kaleidoscope.s
.global     kaleidoscope

; kefrens.s
.global     kefrens

; lemming.s
.global     lemming
.global     test_lemming

; lossoman.s
.global     lossoman_intro
.global     lossoman_kefrens
.global     lossoman_kaleido
.global     lossoman_rotate
.global     lossoman_mem
.global     lossoman_generate

; misc.s
.global     setfbregs
.global     showfb
.global     show4fb
.global     fillfb
.global     clearfb
.global     parabola
.global     imgcompress
.global     flip16to32
.global     rotate16to32
.global     rotate16to32genmatrix

; plasma.s
.global     plasma

; rotor.s
.global     rotor

; scroll.s
.global     scroll_setcolors
.global     scroll_settext
.global     scroll_setfb
.global     scroll_update

; stars.s
.global     stars3d

; tunnel.s
.global     tunnel

; twister.s
.global     twister
