morelenmir, on Sat May 12, 2012 6:36 PM, said:
You've probably got the right of it Nukey!!! I do use EditPad Pro though and then copy/paste into Altirra when I have the source code typed into a text file.
My take on it is that for years and years I have wanted to learn how to program in assembler, but have always been scared away from PC ASM by the sheer complexity of doing so on the x86. Also there is the dos/windows issue where, yes you CAN use ASM for windows - but you inevitably end up just using it to make API calls. And I can do that fairly well in C already! For me at least this has always to an attempt at using MASM in native DOS - which leads back to the complexity of 8086 code and near/far pointers and all that malarkey. So... I thought I would give it a serious push by learning ASM on something nice and simple like the a8 with its pretty small number of mnemonics and small memory pool. To be fair I was doing pretty well, but then ran into a bloody irritating problem with DOS XE and a weird sound issue - a constant high-pitched whistle that drove me nuts and started whenever anything was written to disk from the assembler/editor cart. SpartaDOS didn't work with the examples from "atari roots", causing a crash whenever I tried to load object files into memory. ANYWAY that was a couple of months back now and I haven't found the impetus to knuckle down again, which is a shame as I was just getting to grips with the idea of the carry flag and doing register shifts! I might grit my teeth and start again with the blissfully quiet (I hope!) dos 2.5.
And SIO99 - the book with the basic assembler you typed in yourself called 'alpa' was "Atari 130XE Machine Language for the Absolute Beginner" by 'Kevin Bergin'. I really would recommend "Atari Roots" though - and perhaps through your learning stage give the PC Emulator 'Alitrra' a try, it is just about perfect and best of all FREE!!! I do understand some of us prefer to stick with nuts and bolts hardware though. I probably would too if I had a working A8!
Thanks sooo much, for telling me about "Atari 130XE Machine Language for the Absolute Beginner"! It was one book I was considering anyway, so now I know which one to get. Atari Roots is available on www.atariarchives.org , anyway, but I haven't looked at it yet, because the title didn't give me any idea of what it was about. There are various A8 computers for sale on eBay, where I recently got my Atari 65XE complete with XC12, joystick, 3 games carts, and two TI game controllers which don't seem to work, for the sum of £22.01!
BTW, since my last post I've been working on a missile base/Space Invaders type program, which looks about as advanced as the original Pong, but I now understand how to program it and how it works!
Finally, here's a question for all you budding Assembly Language programmers out there. Here's a routine for the BBC Micro, as well as for the Commodore 64, which prints lots of text on the screen really quickly. I can't see much similarity between these routines. Can you modify them to work on the A8?
BBC
DATA 162,96,160,0,185,0,128,153,0,96,200,208,247,232,138,24,105,32,141,6,16,142,9,16,224,128,208,230,96
CBM64
DATA 162,0,169,46,157,40,4,157,0,5,157,0,6,157,232,6,232,208,241,96