From: Marko Mäkelä (msmakela_at_cc.hut.fi)
Date: 2001-10-17 14:12:57
On Wed, 17 Oct 2001, Adam Dunkels wrote: > How much ROM does a 1541 have? 16 kilobytes, from c000 upwards. You will have to leave the low-level sector read routines there. Writing, formatting and directory routines can be snipped out, just as you said. > Native uIP be fitted into some 4k and by hand-compiling the code to > 6502, it should be possible to reduce the code size down to some 1k. > RAM usage for the TCP/IP stack can be kept below 256 bytes. The RS232 > routines probably needs some 256 bytes for buffering. That leaves more > than 1k for disk block buffers (the BAM wouldn't have to be kept in > RAM either)! Also, if I remember correctly, GCR decoding a sector is done partially in-place. The "extra" data is kept in the $01xx page. You'd probably want to leave most of the zero page alone, unless you're going to rewrite (or relocate) all of the existing ROM routines. I'd say that this is a doable project. But I won't try it. :-) Marko ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:43 CET