tschak909 / platoterm64

PLATOTerm for the Commodore 64
GNU General Public License v3.0
35 stars 11 forks source link

stdio.h File I/O adds 6K onto code. #24

Closed tschak909 closed 5 years ago

tschak909 commented 5 years ago

I need to find a solution to the fact that when I add stdio.h, my code size balloons by 6K. I know I can use CIO on Atari, and there are the kernal routines in C64 and C128, am wondering, what I can do for apple2?

@groessler @greg-king5 am wondering what I should do? :)

-Thom

groessler commented 5 years ago

Did you find a solution?

tschak909 commented 5 years ago

For now, just whiddling down (remove splash screen from code, replace tables with calcs). I managed to get the average size of all the targets to about 20K (I can do 16K carts if I pull out everything related to prefs and file i/o) I think the solution going forward is to strip out the preferences and config.

tschak909 commented 5 years ago

right now, I am trying to get you guys a working plus 4 tgi driver. :) (It works, I just have to get the color RAM bits right)