13-08-2026, 11:43 PM
another night. Claude got confused. Said 64K memory dumps x 4 contained all 0's. Fortunately Grok had one of its few moments of lucidity and managed to crack the issue. I managed to sweet talk Claude into behaving like an AI again.
1. TargetC polls port 0x10 directly (IN A,(10h)) for keyboard input. No
portIn(0x10) handler existed, so the read always returned a stale value —
screen drew, input was dead. Fix: portIn(0x10) now mirrors CRTC keyboard
register 16 (pendingMbeeCode & 63, or 63 if none pending). General
hardware-accurate port mirror, not a per-game hack.
2. Target's detectBeeLoadAddress() self-reference scan picked 0x0A00 over
the correct ORG address 0x0900, winning by only ~2 refs — at 0x0A00,
CALL 0x0F8B hit garbage and returned to Ready. Fix: widened the tie-break
margin so 0x0900 is kept unless another candidate wins by at least 10
refs. General fix, not title-specific.
Provided a link to Microbee Microworld Basic help page on top header. and a link to MBT in bottom header. Tweak time
Test away please.
NB I have trialled in MBECATSE and it works well loading directly the MBUG files, and knows to load DISK BASIC programes into 6.35
VD400BETA20.html (Size: 93.02 KB / Downloads: 10)
1. TargetC polls port 0x10 directly (IN A,(10h)) for keyboard input. No
portIn(0x10) handler existed, so the read always returned a stale value —
screen drew, input was dead. Fix: portIn(0x10) now mirrors CRTC keyboard
register 16 (pendingMbeeCode & 63, or 63 if none pending). General
hardware-accurate port mirror, not a per-game hack.
2. Target's detectBeeLoadAddress() self-reference scan picked 0x0A00 over
the correct ORG address 0x0900, winning by only ~2 refs — at 0x0A00,
CALL 0x0F8B hit garbage and returned to Ready. Fix: widened the tie-break
margin so 0x0900 is kept unless another candidate wins by at least 10
refs. General fix, not title-specific.
Provided a link to Microbee Microworld Basic help page on top header. and a link to MBT in bottom header. Tweak time

Test away please.
NB I have trialled in MBECATSE and it works well loading directly the MBUG files, and knows to load DISK BASIC programes into 6.35
VD400BETA20.html (Size: 93.02 KB / Downloads: 10)
