snicklin Posted July 9, 2017 Share Posted July 9, 2017 Feature request (not critical, just a nice to have): In the Printer Output screen, it'd be nice to be able to do a search for text in a listing. I don't expect anything like replace functionality (which would be a lot less trivial than searching). I would just like to see where in my code that I left a specific string. Quote Link to comment https://forums.atariage.com/topic/256683-altirra-280-released/page/27/#findComment-3801625 Share on other sites More sharing options...
moonlight_mile Posted July 13, 2017 Share Posted July 13, 2017 I spent the last hour doing searches for this but can up empty. If I wanted to set up an MIO hard disk in Altirra how can I do that? I added the mio and hard disk under devices. I got an mio rom off the Internet and added it Set the scsi hard disk as D3: in the mio config menu I left all the other scsi options as default But I am unable to access it or format it. Obviously I am missing a step. Any suggestions on what I am missing? Quote Link to comment https://forums.atariage.com/topic/256683-altirra-280-released/page/27/#findComment-3805124 Share on other sites More sharing options...
danielcg Posted July 15, 2017 Share Posted July 15, 2017 I found one bug. If I turn on Fast FP (Acceleration), in Atari BASIC, when I type 5^2, it will return incorrect 26. When I type 9^2, it will return incorrect 82. Only certain numbers with power of function will return incorrect answers. If I turn off Fast FP (NO acceleration), power of function will ALWAYS return correct answers. However, I notice speed of power of function is MUCH FASTER with fast FP turned on. Also, Questron game does not support 65C816 processor modes and will freeze as soon after I selected NEW CHARACTER or RESTART CHARACTER menu. Questron game works PERFECTLY when I set processor mode to 6502C. Why Questron game cannot run on 65C816 processor, even at 1.79Mhz speed? Note: Questron game requires Atari BASIC or Altirra BASIC to run. Quote Link to comment https://forums.atariage.com/topic/256683-altirra-280-released/page/27/#findComment-3805983 Share on other sites More sharing options...
Shannon Posted July 15, 2017 Share Posted July 15, 2017 My guess would be the Questron games use illegal opcodes. Quote Link to comment https://forums.atariage.com/topic/256683-altirra-280-released/page/27/#findComment-3805985 Share on other sites More sharing options...
Keatah Posted July 15, 2017 Share Posted July 15, 2017 Altirra Basic and Fast FP enabled, 5^2 = 25 and 9^2 = 81 Altirra Basic and Fast FP disabled, 5^2 = 24.9999993 and 9^2 = 80.99999834 Altirra Basic cartridge/diskimage also fails this way in other emulators. Quote Link to comment https://forums.atariage.com/topic/256683-altirra-280-released/page/27/#findComment-3806004 Share on other sites More sharing options...
phaeron Posted July 15, 2017 Author Share Posted July 15, 2017 Atari BASIC has a specific code path to fudge the result for integers, which I'm not interested in reimplementing in Altirra BASIC partly because of this problem: it requires the math pack to be inaccurate in a specific way. The FP acceleration option causes the emulator to intercept math pack calls and evaluate them with the native FPU, which is much more accurate but causes problems in this case. You should not use FP acceleration if you are running a program that is sensitive to the exact values returned by the math pack. Also, Questron game does not support 65C816 processor modes and will freeze as soon after I selected NEW CHARACTER or RESTART CHARACTER menu. Questron game works PERFECTLY when I set processor mode to 6502C. Why Questron game cannot run on 65C816 processor, even at 1.79Mhz speed? Note: Questron game requires Atari BASIC or Altirra BASIC to run. The 65C816 isn't fully compatible with the 6502, and Questron has dodgy programming that causes it to execute garbage instructions that work differently on a 65C816. I spent the last hour doing searches for this but can up empty.If I wanted to set up an MIO hard disk in Altirra how can I do that?I added the mio and hard disk under devices.I got an mio rom off the Internet and added itSet the scsi hard disk as D3: in the mio config menuI left all the other scsi options as defaultBut I am unable to access it or format it.Obviously I am missing a step. Any suggestions on what I am missing? Three things: You need a DOS that can access D3:. DOS 2.0S defaults to only supporting two drives. You need a DOS that supports the Parallel Bus Interface. Most do, but you might find an oddball that doesn't. You need Fast Boot disabled, D: acceleration disabled, or the SIO acceleration mode set to PBI. Otherwise, the emulator will intercept the D3: request to speed up the boot process, preventing the MIO from seeing it. Quote Link to comment https://forums.atariage.com/topic/256683-altirra-280-released/page/27/#findComment-3806017 Share on other sites More sharing options...
danielcg Posted July 15, 2017 Share Posted July 15, 2017 Thanks! Altirra Basic has better math calculations than Atari Basic, especially when Fast FP acceleration is enabled. I tested Atari BASIC only but not Altirra BASIC. Altirra BASIC has more functions just like BASIC A+ or BASIC XE. Quote Link to comment https://forums.atariage.com/topic/256683-altirra-280-released/page/27/#findComment-3806031 Share on other sites More sharing options...
Keatah Posted July 15, 2017 Share Posted July 15, 2017 So to get the best answers, use Atari Basic Rev. C with FP ACCEL off. And for Altirra Basic, turn on the Acceleration. Yes? Quote Link to comment https://forums.atariage.com/topic/256683-altirra-280-released/page/27/#findComment-3806034 Share on other sites More sharing options...
dmsc Posted July 15, 2017 Share Posted July 15, 2017 Hi, So to get the best answers, use Atari Basic Rev. C with FP ACCEL off. And for Altirra Basic, turn on the Acceleration. Yes? No, you should never use Atari Basic if you want the best answers :-P The problem is that the programmers added a kludge to the power function that detects integer arguments, and in this case takes the integer part and adds 1 to the result. This relies on the math pack always returning less than the true result for the power function!. In reality, this causes problems if you try to use the power function in any numeric algorithm, as it is now discontinuous and non monotonic, see: If you are trying to plot the function or use a root-finding algorithm, or calculate the numerical derivative, the result will be really bad. Altirra Basic does no rounding to the power operation, so the result it gives is the full precision of the math pack, see: This "looks" worse, but it is actually much better if you plan to use the result on any further calculations. Note that, with bigger numbers, the results of Atari Basic start to get a lot worse: This should be really 67108864. Altirra Basic gives a better (nearer the expected) result: 3 Quote Link to comment https://forums.atariage.com/topic/256683-altirra-280-released/page/27/#findComment-3806199 Share on other sites More sharing options...
Keatah Posted July 15, 2017 Share Posted July 15, 2017 Got it. I'm working on converting a lot of Apple II 2-line basic programs over to Atari. They're graphic demos and use the power function quite a bit. Now I see what's going on. 3 Quote Link to comment https://forums.atariage.com/topic/256683-altirra-280-released/page/27/#findComment-3806242 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.