charlietunaz Posted October 23, 2022 Share Posted October 23, 2022 I ran the following code on both metal TI and Classic 99 with different results: 10 A=A+8 20 GOSUB 10 RUN After the memory full error, I get this. TI BASIC (metal) - PRINT A = 14536 - (PEB unplugged) TI BASIC (Classic 99) = 12448 TI BASIC (Classic 99) = 13480 - After CALL FILES(1) - > NEW ~1-2K bytes difference. Could someone explain why? Quote Link to comment Share on other sites More sharing options...
+OLD CS1 Posted October 23, 2022 Share Posted October 23, 2022 Disk buffers. In Classic99, CALL FILES(0) will return the same value as iron without the PEB. 1 Quote Link to comment Share on other sites More sharing options...
charlietunaz Posted October 23, 2022 Author Share Posted October 23, 2022 (edited) 43 minutes ago, OLD CS1 said: Disk buffers. In Classic99, CALL FILES(0) will return the same value as iron without the PEB. Interesting, searching for CALL FILES in the forum I found out that CALL FILES(0) is a Classic99 only command. Edited October 23, 2022 by charlietunaz 1 Quote Link to comment Share on other sites More sharing options...
+Ksarul Posted October 23, 2022 Share Posted October 23, 2022 1 hour ago, charlietunaz said: Interesting, searching for CALL FILES in the forum I found out that CALL FILES(0) is a Classic99 only command. It is, and as already noted, it is the simplest way to free up all of the buffer space normally reserved for the disk controller in the emulated TI system. A bare metal console doesn't reserve any of this buffer space, because no disk controller is present. The emulated Classic99 system generally starts as an expanded system, and the user can tweak it as necessary to change that. 3 Quote Link to comment Share on other sites More sharing options...
pixelpedant Posted October 23, 2022 Share Posted October 23, 2022 Another exceptional case, just because it's fun trivia: if the Terminal Emulator II cart is inserted (and regardless of whether any of its features are used), memory available to TI BASIC will reflect buffer use one in excess of that specified by CALL FILES, as it reserves a buffer for its own i/o purposes. 5 1 Quote Link to comment 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.