A flight down a tunnel of light for DOS, in under 256 bytes. Every pixel asks the x87 for an angle and a depth.
Leave through text mode
Browse filesEsc used to drop back to DOS still in mode 13h, with the prompt drawn over the last frame.
failing
1 step in 1 ms
1 file changed
+3−0
@@ -99,6 +99,9 @@ pixel:
9999 in al, 0x60 ; Esc has scancode 1
100100 dec al
101101 jnz frame
102+
103+ mov ax, 0x0003 ; back to text mode
104+ int 0x10
102105 ret
103106
104107 k_angle: dd 40.743665 ; 128 / pi