Event JSON
{
"id": "90885183a8d9eedb72bf746da815fd88df1b76a05c2e9bc8cd063f219db850e9",
"pubkey": "cf92fa251c84caaf3a34d0e9b1bc094646852c6bea46cda6fb53b7009175e3ce",
"created_at": 1731802806,
"kind": 1,
"tags": [
[
"p",
"2df104b0ca6fa7ca36a01513be42439e6337a5ec121f8cafcba98bcc405d8743",
"wss://relay.mostr.pub"
],
[
"p",
"9a9a4aa0e43e57873380ab22e8a3df12f3c4cf5bb3a804c6e3fed0069a6e2740",
"wss://relay.mostr.pub"
],
[
"t",
"msdos"
],
[
"t",
"retrocomputing"
],
[
"imeta",
"url https://files.mastodon.social/media_attachments/files/113/495/402/529/709/633/original/326066e12a183020.jpg",
"m image/jpeg",
"dim 2000x1500",
"blurhash U98YGkt8DOoJHti_%ojr%kodM:aKoHjcawj^"
],
[
"proxy",
"https://mastodon.social/users/chainq/statuses/113495428741488516",
"activitypub"
]
],
"content": "I involuntarily (cheers nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq9hcsfvx2d7nu5d4qz5fmusjrne3n0f0vzg0cet7t4x9ucszasapsgk5zd4!) spent my Saturday on tracing down an ancient Turbo C bug. 😅\n\nThe intr() function, used to call DOS/BIOS interrupts will pass the wrong BP register value to the interrupt. BP is heavily used in stack handling, so intr() generates a BP-reload-and-INT-trampoline on the stack, but the BP reload offset it creates is off-by-four.\n\nFix: Look for the sequence C6 46 F4 E2 in affected binaries, and change E2 to DE.\n\nMore details in reply. 🧵 \n\n#msdos #retrocomputing\n\nhttps://files.mastodon.social/media_attachments/files/113/495/402/529/709/633/original/326066e12a183020.jpg",
"sig": "c06ec14e6f92b905293f6a14ebf036e356d868f4a064734812f79a59f5ed8eb93a7086324f35045a15e743cb600bf92259090fe6f83982396909e4148a6f7c04"
}