It's already 5 years, but here we are... I started with learning Atari BASIC and Assembly just a few days ago. Thanks to your videos I am progressing like a champ I was struggling with how to start assembly code from BASIC {I am a Commodore guy and there it is, e.g. SYS 4864} Did not work with ATARI, but now i see it here, USR is to be used X=USR(4864) I am emulating ATARI-800XL, but it seem that most memory locations are the same as on 130XE
Analog was the best magazine that solely focused on Atari. I had subscribed till 1990. The contents were much more interesting than today's computer magazines.
Back in the days I bought several of the Analog and Antic magazines, not all, they were very expensive here in Germany and I wasn't making any money when my interest in the Atari got sparked. Stupid me, I sold all of them on ebay when I thought I wouldn't "need" them anymore. Fast forward 25 years, now I'd love to read them again.
The full text of lot of Atari magazines can be found here: www.atarimagazines.com . Unfortunately, it only includes ten issues of A.N.A.L.O.G. from 1988 and 1989, and not January 1989. But it does have complete issues of some other good ones, like Antic magazine, which I'm sure covered a lot of the same kinds of techniques. Anyway, FYI. Also, what do you do if the ML program includes the atascii code for the double quote mark? Wouldn't that end the string? I suppose you'd have to include some kind of exception for that.
I would DIM a string, read the data, and then ML$(x,x)=chr$(data) since strings in Atari BASIC are linear arrays, it just depends on how you manipulate it. Then there's a poke to make E: not execute ATASCII commands, then print ML$ to the screen. After that, it's simple to make your BASIC line around it. Slightly trickier for longer chunks of code. This works only if your machine code is relocatable in memory.
*** ### VIDEO NOTES ### *** 1) This video is a follow up to this video: ruclips.net/video/64c7fCogtn8/видео.html, and contains the fix to the stack error.
I hated that form of string for coding machine language programs. Atari Basic lacks a BLOAD (binary load) instruction for loading a binary file from disk or cassette to a block of memory. Obviously, you can achieve that with disk commands, but it would be better at that time with a simple command...
I posted your "Listing to create ML string in basic from data" as a gist on github, too. I cited you and this video :): gist.github.com/jjwatt/aec120cde0a5867123dd987ef372c5ca Hey, now I wonder: Was there any kind of macro, templating or pre-processor-like tool/language for Atari 8-bit/BASIC? hehe. I guess it might take away from the fun if I wrote a tool to generate these from a modern computer in emacs or shell, eh ;). I admire your purity here, so maybe there are some Atari 8-bit native tools for things like that, or I suppose one could write a basic program that takes raw ASM/bytes and generates the lines for another BASIC program...
It's already 5 years, but here we are...
I started with learning Atari BASIC and Assembly just a few days ago.
Thanks to your videos I am progressing like a champ
I was struggling with how to start assembly code from BASIC {I am a Commodore guy and there it is, e.g. SYS 4864}
Did not work with ATARI, but now i see it here, USR is to be used X=USR(4864)
I am emulating ATARI-800XL, but it seem that most memory locations are the same as on 130XE
Analog was the best magazine that solely focused on Atari. I had subscribed till 1990. The contents were much more interesting than today's computer magazines.
akam akam I agree. Do you still have them?
Simply it had high educational values... unlike today's ones where the most important contents are ads.
Back in the days I bought several of the Analog and Antic magazines, not all, they were very expensive here in Germany and I wasn't making any money when my interest in the Atari got sparked. Stupid me, I sold all of them on ebay when I thought I wouldn't "need" them anymore. Fast forward 25 years, now I'd love to read them again.
That default left margin always drove me crazy. POKE 82,0 is your friend.
The full text of lot of Atari magazines can be found here: www.atarimagazines.com . Unfortunately, it only includes ten issues of A.N.A.L.O.G. from 1988 and 1989, and not January 1989. But it does have complete issues of some other good ones, like Antic magazine, which I'm sure covered a lot of the same kinds of techniques. Anyway, FYI.
Also, what do you do if the ML program includes the atascii code for the double quote mark? Wouldn't that end the string? I suppose you'd have to include some kind of exception for that.
Thanks for the ANALOG tip, for the double quote I assume you could do a CHR$(asciicodeforquote) and append to the end of the ML String...
You should get a website and get this information online! This is good stuff, coming from an old school Atari home computer fan (since 1986). :)
The website is www.8bitandmore.com, thanks for watching!
I would DIM a string, read the data, and then ML$(x,x)=chr$(data) since strings in Atari BASIC are linear arrays, it just depends on how you manipulate it.
Then there's a poke to make E: not execute ATASCII commands, then print ML$ to the screen. After that, it's simple to make your BASIC line around it. Slightly trickier for longer chunks of code.
This works only if your machine code is relocatable in memory.
That's a really neat trick!
Thanks!
1:40 it does not work on 800XL
I will test and see what happens.
It works on my 800XL. Try double checking the data numbers.
*** ### VIDEO NOTES ### ***
1) This video is a follow up to this video: ruclips.net/video/64c7fCogtn8/видео.html, and contains the fix to the stack error.
I hated that form of string for coding machine language programs. Atari Basic lacks a BLOAD (binary load) instruction for loading a binary file from disk or cassette to a block of memory. Obviously, you can achieve that with disk commands, but it would be better at that time with a simple command...
Nevertheless, Atari was always an interesting machine for learning to program...
I posted your "Listing to create ML string in basic from data" as a gist on github, too. I cited you and this video :):
gist.github.com/jjwatt/aec120cde0a5867123dd987ef372c5ca
Hey, now I wonder: Was there any kind of macro, templating or pre-processor-like tool/language for Atari 8-bit/BASIC? hehe. I guess it might take away from the fun if I wrote a tool to generate these from a modern computer in emacs or shell, eh ;). I admire your purity here, so maybe there are some Atari 8-bit native tools for things like that, or I suppose one could write a basic program that takes raw ASM/bytes and generates the lines for another BASIC program...
where is 110 line ?