Just working on Anton Marsden's Electric Head warrior with a view to upgrading it. The core clear and its boot is insanely complicated so I patched the code to only run the clear and started debugging it in
Pmars. As far as I can tell there are at least two and maybe three major
bugs in the published edition. I wonder if they were always there or if
they were added when Anton changed the constants for publication? Or
maybe I'm just failing to understand some aspect of the intended
behaviour.
On Tue, 28 Sep 2021 23:53:27 -0700, Stephen Gunnell wrote:
Just working on Anton Marsden's Electric Head warrior with a view to upgrading it. The core clear and its boot is insanely complicated so I patched the code to only run the clear and started debugging it inHi,
Pmars. As far as I can tell there are at least two and maybe three major bugs in the published edition. I wonder if they were always there or if they were added when Anton changed the constants for publication? Or
maybe I'm just failing to understand some aspect of the intended behaviour.
It appears to be working here. The clear boots to the following which
does a SPL/DAT clear:
4012 DAT.F $ 19, $ 500
4013 DAT.F $ 3960, $ -3955
; ....
4031 SPL.B # 41, $ 45
4032 MOV.I * -20, > -20
4033 MOV.I * 20, > -20
4034 DJN.F $ -1, { -21
; ....
4053 DAT.F $ 1, $ 45
4054 SPL.B # -40, $ 45
Where did you find the code? Maybe there's a broken copy somewhere online.
John
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 388 |
Nodes: | 16 (3 / 13) |
Uptime: | 04:34:21 |
Calls: | 8,219 |
Calls today: | 17 |
Files: | 13,122 |
Messages: | 5,872,098 |
Posted today: | 1 |