Re: make your own carts for c64? From: John Iannetta <73510.2152@CompuServe.COM> Reply to: John Iannetta Date: Thu, 29 Oct 1998 00:09:36 -0500 Organization: CompuServe, Inc. (1-800-689-0736) References: <712g0f$k0d$4@ultra.sonic.net> David St. Hubbins said, "is it possible to make your own cartriges with single file programs". If the file isn't too large, yes. What did you have in mind? If you have a C-64 BASIC program that contains fewer than 8104 bytes, you can program an 8 Kbyte EPROM (or OTP ROM) so that on power up (or reset) the program will be ready to run. Run this BASIC program: 10 poke55,.:poke56,160:clr:print 20 fori=900to988:ready:pokei,y:a=a+y 30 next:ifa=12101then50 40 print"data statement error":end 50 print"enter filename (device 8)." 60 print:inputf$:iff$=""thenend 70 print:print"writing file..." 80 open8,8,1,f$:fori=900to988 90 print#8,chr$(peek(i));:next:close8 100 data9,128,94,254,195,194,205 110 data56,48,142,22,208,32,163,253 120 data32,80,253,32,21,253,32,91 130 data255,88,32,83,228,32,191,227 140 data32,34,228,169,128,133,252 150 data169,91,133,251,160,0,169 160 data1,133,253,169,8,133,254,162 170 data32,177,251,145,253,200,208 180 data249,230,252,230,254,202,208 190 data242,32,51,165,165,34,105 200 data2,133,45,165,35,105,0,133 210 data46,32,99,166,76,157,227 A file will be written to disk; suppose that it is named "first". Concatenate "first" with your program: open1,8,15,"c0:a=first,program":close1 Then program an 8 Kbyte ROM with the data in "a". When you prepare the cartridge, make sure that -EXROM (pin 9) is connected to ground (pin 1), and that -GAME (pin 8) is not connected to anything. When you reset (or power up), you will see the startup screen. But your program will be in memory, and may be either listed or run. -- I pressed RETURN, and the message said, "Missing GOSUB". John