mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-07 21:30:39 +00:00
bubble: more code comments
This commit is contained in:
parent
02d20faf82
commit
d75f8e43f3
@ -4,14 +4,17 @@
|
||||
; based roughly on the BASIC code posted on the pouet forum
|
||||
; original effect by yuruyrau on twitter
|
||||
|
||||
; original implementation = 612 bytes
|
||||
; original, unoptimized implementation = 612 bytes
|
||||
; fast version = 2152 bytes (could probably fit in 2k if we generate SINE table)
|
||||
|
||||
; Fast hi-res pixel notes (Apple II hi-res graphics pain is
|
||||
; a bit much to get into here)
|
||||
|
||||
; clear screen routine:
|
||||
; ROM built-in: BKGND0 = $44198 = 278936 cycles = max ~4fps
|
||||
; hand-optimized: $A616 = 42518 cycles = max ~22fps
|
||||
; hand-optimized: $A616 = 42518 cycles = max ~22fps
|
||||
; final version faster, only clears the 128x128 part of the screen we use
|
||||
|
||||
; hplot (plot pixel) routine, plot 32x32=1024 points
|
||||
; ROM HPLOT0 = ($14E-$15C) $14E = 334 * 1024 = 342016 = max ~3fps
|
||||
; hand-optimized = 46 * 1024 = 47104 = max ~21fps
|
||||
|
Loading…
x
Reference in New Issue
Block a user