the 16 byte DOS demo from #revision2026 running on real hardware
holy… HOW
the 16 byte DOS demo from #revision2026 running on real hardware
holy… HOW
@RafiX c40448ab260345ae260305c1e802ebf2
that’s it. that’s the demo.
``` ;si=0x100 https://www.pcjs.org/documents/misc/DOS_COM_Startup_Registers.pdf s: les ax,word [si] ; es = [s+2] -> 0xAB48 l: dec ax stosw ;es:[di]=ax add ax,[es:di-82] add ax,[es:di] shr ax, 2 jmp l ```
uint16_t *base = 0xAB480;
base[0x7FFF] = 0x04C3;
for (uint15_t d = 0; ; ++d) {
base[d] = (base[d - 1] + base[d - 0x29] + base[d]) >> 2 - 1;
}0x0000000000000100: C4 04 les ax, ptr [si]
0x0000000000000102: 48 dec ax
0x0000000000000103: AB stosw word ptr es:[di], ax@snow i’m not good at it either! we can learn together! :D
i have started hacking up a demo for bash with graphics (yeah) and audio (… yeah), but i’m fine with virtually any platform :D
@domi @snow so technically I have *two* at RevSpace, a PC-9821Ap and a PC-9801VX :>
and some years ago I started writing a basic graphics library for the GDC/GCRG/EGC: https://codeberg.org/shiz/gfxi
it's not much (yet), but it's a start?