Elektrine lite

← Feed

@gloriouscow@oldbytes.space

2026-08-05 22:10 UTC

i was worried that this was going to be too stupid to be plausible, or require something like 32KiB of brainfuck-level shenanigans, but i actually think this is going to work

Replies (1)

  • @gloriouscow@oldbytes.space 2026-08-05 22:18

    demo coders who compete in size coding categories know a lot of clever tricks that take advantage of how DOS intializes a program's PSP. les bx,[bx] at the start of a DOS program gives you a usable pointer to VGA video memory. no really. how does this work? it ends up accessing a value in the PSP. DOS puts the value 0x9FFF there. used as a segment, that's only 16 bytes from the start of VGA memory. you can work around that. this is not related to emojissembly but i think its cool

    Open ##5042306