Stuart Posted November 4, 2013 Share Posted November 4, 2013 (edited) I've done a bit of work on my port of Cortex BASIC so it can now be programmed into a 32K EPROM on a 64K Guidry bank-switched cartridge, and selected from the TI main menu. When run from a cartridge, just over 14K of RAM is available for program and variable storage (compared with around 5K of RAM free when loading the program as an E/A option 3 file). Details, including a link to the EPROM binary image, are here: <http://www.avjd51.dsl.pipex.com/ti/ti.htm#programs>. If you want a little program to try out ... 10 GRAPH : XS=2: YS=2 20 A=256: B=A*A: C=192 30 FOR X=0 TO A STEP XS: S=X*X: P=SQR[b-S] 40 FOR I=-P TO P STEP 6*YS 50 R=SQR[s+I*I]/A 60 Q=(R-1)*SIN[10*R] 70 Y=INT[i/3+Q*C] 80 IF I=-P THEN M=Y: N=Y 90 IF Y>M THEN M=Y 100 IF Y<N THEN N=Y 110 IF (M=Y OR N=Y) THEN X1=X/2: Y1=100-Y/2: PLOT 128+X1,Y1: PLOT 128-X1,Y1 120 NEXT I 130 NEXT X 140 GOTO 140 Stuart. Edited November 4, 2013 by Stuart 6 Quote Link to comment https://forums.atariage.com/topic/218305-cortex-basic-on-a-64k-guidry-cartridge/ Share on other sites More sharing options...
Willsy Posted November 4, 2013 Share Posted November 4, 2013 Excellent job Stuart! I'll be trying this out on the real hardware when I get a chance! Quote Link to comment https://forums.atariage.com/topic/218305-cortex-basic-on-a-64k-guidry-cartridge/#findComment-2860243 Share on other sites More sharing options...
Stuart Posted November 4, 2013 Author Share Posted November 4, 2013 (edited) Excellent job Stuart! I'll be trying this out on the real hardware when I get a chance! Thanks for those three boards. They're all built up and work fine. (Mark, to return the favour, do you need some 74LS379s for your boards? I bought 10, and only need three plus a spare, so the remainder are yours for the asking. Ditto for the two caps on each board as well.) Edited November 4, 2013 by Stuart Quote Link to comment https://forums.atariage.com/topic/218305-cortex-basic-on-a-64k-guidry-cartridge/#findComment-2860257 Share on other sites More sharing options...
Tursi Posted November 5, 2013 Share Posted November 5, 2013 oh! that's awesome, Stuart! I'm going to build one of these up. Quote Link to comment https://forums.atariage.com/topic/218305-cortex-basic-on-a-64k-guidry-cartridge/#findComment-2860392 Share on other sites More sharing options...
Asmusr Posted November 5, 2013 Share Posted November 5, 2013 Me too. Quote Link to comment https://forums.atariage.com/topic/218305-cortex-basic-on-a-64k-guidry-cartridge/#findComment-2860402 Share on other sites More sharing options...
Asmusr Posted November 5, 2013 Share Posted November 5, 2013 Considering that the file is for a 32K EPROM (actually it's only 25K, Classic99?), will it work if I write it to a 64K EPROM, which is all I have, and set the jumpers to 32K, or do I need to pad the file to 32K and duplicate it so it ends up being 64K? Quote Link to comment https://forums.atariage.com/topic/218305-cortex-basic-on-a-64k-guidry-cartridge/#findComment-2860742 Share on other sites More sharing options...
Stuart Posted November 5, 2013 Author Share Posted November 5, 2013 Correct - it's a 25K file. I didn't bother padding it out to the full 32K. If you pad to 32K and duplicate, and set the jumper to 32K, I think it should work (A15 will be held high so it will use the copy of the code in the upper half of the EPROM?). You can always just erase the EPROM if it doesn't work ... Quote Link to comment https://forums.atariage.com/topic/218305-cortex-basic-on-a-64k-guidry-cartridge/#findComment-2860788 Share on other sites More sharing options...
JamesD Posted November 5, 2013 Share Posted November 5, 2013 (edited) <deleted> Edited November 5, 2013 by JamesD Quote Link to comment https://forums.atariage.com/topic/218305-cortex-basic-on-a-64k-guidry-cartridge/#findComment-2860828 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.