Commit Graph

31 Commits

Author SHA1 Message Date
Elliot Nunn
a84a379886 Ignore client's buggy bitmap
The client sends the wrong "missing block bitmap" when the image is
small. I think that it is best to ignore the bitmap and retransmit *all*
blocks when *any* request is received. Also introduce arbitrary block
sizes.
2021-04-12 19:03:27 +08:00
Elliot Nunn
c5947f2652 Init performance fix
Quite an embarrassing one. I search the stack for a known 4-byte value.
This search starts at the stack pointer and continues towards low
memory. Oops! I was searching nearly the entire address space.
2021-03-02 19:17:13 +08:00
Elliot Nunn
a96d61eca7 Change padding mechanism 2021-03-02 13:24:11 +08:00
Elliot Nunn
5c97e31336 Basic dropped-packet tolerance 2021-03-02 13:03:01 +08:00
Elliot Nunn
c16fa09c3d Protocol changes to help with config 2021-02-23 11:13:57 +08:00
Elliot Nunn
a902c2620b Tiny tweak 2021-02-23 10:36:57 +08:00
Elliot Nunn
78ccbcb20a Clean up whitespace 2021-02-23 10:10:33 +08:00
Elliot Nunn
5086338c9f Neaten up drive queue handling 2021-02-23 10:06:58 +08:00
Elliot Nunn
ee0f2a224e Banish some debug SysErrs 2021-02-23 09:50:20 +08:00
Elliot Nunn
8457a01bcc Dedup tiny bit of code 2021-02-23 09:48:12 +08:00
Elliot Nunn
05e34e28fd Slightly neaten up addr struct copying 2021-02-23 09:46:04 +08:00
Elliot Nunn
061780717c Tweak icon 2021-02-22 12:47:15 +08:00
Elliot Nunn
9e2657682a Was not deleting .ATBOOT as intended 2021-02-22 11:54:37 +08:00
Elliot Nunn
ca65b82602 Correct User Record saving
May use this for configuration purposes later
2021-02-22 11:54:19 +08:00
Elliot Nunn
1ac5cb6710 Squash the only bug that stopped it booting! 2021-02-22 08:47:44 +08:00
Elliot Nunn
3cbc61b625 The outline of a solution
But it doesn't actually work yet.
2021-02-22 08:37:43 +08:00
Elliot Nunn
c898af28d3 Big refactor aimed at RAM usage
More gross inefficiencies to be squashed
2021-02-19 16:39:03 +08:00
Elliot Nunn
abf78881be Disk icon!
Help me, Dana Sibera. You're my only hope.
2021-02-19 14:42:10 +08:00
Elliot Nunn
c7e7cb987b Fix multi-block write bug 2021-02-18 08:44:11 +08:00
Elliot Nunn
a0617e17a1 Streaming write support seems to work 2021-02-18 08:39:42 +08:00
Elliot Nunn
c338a53575 Fixed the new boot protocol: it works
Problem was that I was only ever writing the first 32 blocks of each
read buffer.
2021-02-17 10:29:06 +08:00
Elliot Nunn
5a55190a83 Small code fixes: still crashing 2021-02-17 10:27:40 +08:00
Elliot Nunn
d77d4cd677 Does some IO then crashes! 2021-02-16 22:51:34 +08:00
Elliot Nunn
a0e51adee5 And more 2021-02-16 22:09:31 +08:00
Elliot Nunn
ba3cc5fe3d Tiny bit more (still works) 2021-02-16 22:07:48 +08:00
Elliot Nunn
4a44f288c0 New state-machine-based boot somewhat works
(For requests under 32b)
2021-02-16 22:05:18 +08:00
Elliot Nunn
286ca935bf Clean up sock listener's global accesses 2021-02-11 13:25:04 +08:00
Elliot Nunn
f3fbb86c64 Change to purely block-oriented protocol 2021-02-11 12:24:04 +08:00
Elliot Nunn
f0fe0c6f58 Ditch as many hacks as possible
This leaves System 7's AppleTalk loading code in a broken state. Plan is
to neaten things up as they are (and add write support!) then do the
necessary System 7 hacks.
2021-02-08 16:15:17 +08:00
Elliot Nunn
dab771ba79 System 7 AppleTalk: attempt more robust workaround 2021-02-08 16:03:30 +08:00
Elliot Nunn
9e43fdeb94 Early attempt at streaming boot
Tends to crash when RAM AppleTalk is loaded
2020-12-01 10:31:04 +08:00