Post #4400814
2026-08-05 20:17 UTC
one intriguing possibility is that several UTF-8 emoji codepoints start with 0xF0 which is an otherwise harmless prefix on 8088
๐ฏ -> f0 9f 92 af
this becomes
00000000 F0 9F lock lahf
00000002 92 xchg dx,ax
00000003 AF scasd
Replies (2)
-
@gloriouscow@oldbytes.space 2026-08-05 20:25
Although you're stuck with 9F it seems, so you're constantly trashing AH by calling lahf. If we accept this as a constant side effect, we can just use half of the bytes. unfortunately you kinda need AH to call interrupts... so let's identify some useful emoji. here's NOP: ๐
-
@gumnos@mastodon.bsd.cafe 2026-08-06 18:25
@gloriouscow@oldbytes.space Do your options improve if you use UTF-16 or UTF-32 (whether BE or LE) encoding of the emoji?