emarti Posted July 16, 2018 Share Posted July 16, 2018 I am newbie for ATARI. For Atari XL, I coded to print text via Assembly. But I cannot print text that includes upper and lower case same time. I'll be waiting for Assembly or BASIC solution about this. Thanks. Quote Link to comment Share on other sites More sharing options...
xxl Posted July 16, 2018 Share Posted July 16, 2018 ldx #<hello ldy #>hello jsr $c642 jmp * hello dta c'Hello, world!',$9b Quote Link to comment Share on other sites More sharing options...
emarti Posted July 16, 2018 Author Share Posted July 16, 2018 ldx #<hello ldy #>hello jsr $c642 jmp * hello dta c'Hello, world!',$9b Ohhh! Thanks. It is like $AB1E for Commodore 64. It works. How to find list routine like $c642? Quote Link to comment Share on other sites More sharing options...
xxl Posted July 16, 2018 Share Posted July 16, 2018 http://tajemnice.atari8.info/ksiazki/ppso/dodatki.html#a http://www.atari.org.pl/forum/viewtopic.php?id=15322 Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted July 16, 2018 Share Posted July 16, 2018 Or use the documented CIO entry point and ensure your software works on 800s, etc. 3 Quote Link to comment Share on other sites More sharing options...
xxl Posted July 16, 2018 Share Posted July 16, 2018 it's true, plain 800 has only 48 kB, and like 400 has no RAM under OS and most (in particular) games will not work anyway. If you want to write for Atari 800XL / 800XE / 65XE / 130XE / XLGS then there is no problem :-) However, you must remember that a few very active people on the forum have homebrew OS - this method will not work on their machines :-) Quote Link to comment Share on other sites More sharing options...
dmsc Posted July 16, 2018 Share Posted July 16, 2018 Hi! it's true, plain 800 has only 48 kB, and like 400 has no RAM under OS and most (in particular) games will not work anyway. If you want to write for Atari 800XL / 800XE / 65XE / 130XE / XLGS then there is no problem :-) However, you must remember that a few very active people on the forum have homebrew OS - this method will not work on their machines :-) Using the correct CIO calls has many advantages: - You are compatible with 80 and 64 column handlers, - You can install a E: accelerator and your program will be faster, - A DOS can install a redirector so that the output is written to a file, - You can use free replacement ROMS in an emulator instead of the non-distributable original ones. So, please, don't ever call the undocumented entry points, calling the correct routine is easy and compatible. 4 Quote Link to comment Share on other sites More sharing options...
xxl Posted July 16, 2018 Share Posted July 16, 2018 Full agreement. I have not thought about users of emulators who do not have access to the Atari ROM Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted July 18, 2018 Share Posted July 18, 2018 Full agreement. I have not thought about users of emulators who do not have access to the Atari ROM That's almost the same thing as my problem with illegal opcodes. I *Could* open up my 800, pull the 65c802 and replace it with 6502b, but WHY? Just to run a game or two that has been PURPOSELY written not to work on my CPU? Let's TRY to be as compatible as possible for ALL Ataris. Use legal opcodes and OS ROM calls, PLEASE. Quote Link to comment Share on other sites More sharing options...
xxl Posted July 18, 2018 Share Posted July 18, 2018 There is no Atari with an other processor like 6502, if you replace any element of the system with "almost" a compatible counterpart, do not blame the whole world for something that does not work and do not force anyone to raise boundary conditions to meet your "standards". I *Could* open up my 800, pull the 65c802 and replace it with 6502b, but WHY? of course you can. People have been tuning equipment for ever :-) 1 Quote Link to comment Share on other sites More sharing options...
+Stephen Posted July 18, 2018 Share Posted July 18, 2018 That's almost the same thing as my problem with illegal opcodes. I *Could* open up my 800, pull the 65c802 and replace it with 6502b, but WHY? Just to run a game or two that has been PURPOSELY written not to work on my CPU? Let's TRY to be as compatible as possible for ALL Ataris. Use legal opcodes and OS ROM calls, PLEASE. Just curious - why do you have a non-standard CPU in your 800? Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted July 18, 2018 Share Posted July 18, 2018 Just curious - why do you have a non-standard CPU in your 800? So I can run code that is written to take advantage of it. Properly written 6502 code runs perfectly on it and on Antonia, and the other 816 upgrades. Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted July 18, 2018 Share Posted July 18, 2018 (edited) So I can run code that is written to take advantage of it. Properly written 6502 code runs perfectly on it and on Antonia, and the other 816 upgrades. Best solution I can suggest there is to vote with your feet and simply not attempt to run code which won't run on your CPU. There will be two reasons for the use of illegals: necessity or arrogance. If it's the former, there's not much you can do about it, and if it's the latter, who wants to run their software anyway? I suppose a third reason would be ignorance, but you'll quickly see from the reaction of the software's author which is the case. Edited July 18, 2018 by flashjazzcat 1 Quote Link to comment Share on other sites More sharing options...
+Stephen Posted July 18, 2018 Share Posted July 18, 2018 So I can run code that is written to take advantage of it. Properly written 6502 code runs perfectly on it and on Antonia, and the other 816 upgrades. I'm not being snide in asking this. But it does seem odd, that you want to run custom software that can take advantage of non 6502 instructions which I suspect 99.3% of all users have. But you are so adamant about not using stuff that won't work on the outlying fringe of non-standard Atari CPUs. Not worth arguing over, especially since I am not contributing any code to the scene. I have no fight in this, I was just questioning your thought process. Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted July 19, 2018 Share Posted July 19, 2018 I never thought of Antonia and Rapidus users as 'outlying fringe'. I consider them 'power users'. 1 Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted July 19, 2018 Share Posted July 19, 2018 (edited) Please take with a grain of salt... at one time Atari was looking to go with more powerful 6502 compatible chips to improve on these machines.... they did warn against using illegal opcodes and the like. It wasn't until later on that some of the opcodes were used by Atari software programmers themselves, and while it was frowned on... it was still put out there as official software. Was this because no one was watching or checking? probably. That being said... if there is no other way to get an NTSC machine to run a PAL game because re coding the whole shebang to 60 hz would be like writing from scratch or it simply can't be done any other way.... I say use the illegal codes... no application or game versus having something awesome? Yeah I'll take the awesome. Using the more powerful chip might mean taking out the illegal code and fixing it, but the faster more adept processor can use it's muscle and optimizations including optimizing software to take advantage and work with it cleanly. The game might be called Super Zapper, Power edition instead of Super Zapper. I'd say no illegals until you hit a solid wall, to scale the wall use them. If possible make a power edition to help out the power user crew. Atari did intend to move up to other still 6502 compatible chips past 79/80... like so many things it just didn't happen... Edited July 19, 2018 by _The Doctor__ Quote Link to comment Share on other sites More sharing options...
xxl Posted July 19, 2018 Share Posted July 19, 2018 They wanted and did it. Today, we call this... Amiga computer. I really like stories about faster acting games, sometimes I'm such a "power" user, I switch the emulator to 800% and I have "power" River Raid without glitches and 100% compatibility. Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted July 19, 2018 Share Posted July 19, 2018 (edited) emulation is not an 800 family of Atari computer silly wabbit... certainly is not power user... my x wing fighter still won't center in emulation... Edited July 19, 2018 by _The Doctor__ Quote Link to comment Share on other sites More sharing options...
xxl Posted July 19, 2018 Share Posted July 19, 2018 (edited) :-) just like 65816 (or 6809) Edited July 19, 2018 by xxl Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted July 19, 2018 Share Posted July 19, 2018 hey let's name all chips with 6502 modes 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.