Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Atari » Atari 8-bit » First assemble
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
First assemble [message #316] Sun, 11 December 2011 12:41 Go to next message
bill is currently offline  bill
Messages: 165
Registered: December 2011
Karma: 0
Senior Member
From Newsgroup: comp.sys.atari.8bit

So it wasn't until recently (inheriting someone's big collection of 8-bit
stuff) that I had an honest-to-goodness book on assembly language for
the Atari. I also inherited an Atari Assembler Editor cart.

I was a bit weepy last night. For the first time, after all these years
of hacking on my Ataris, I typed in a little assembly language program,
assembled it, and ran it.

I was a bit spoiled by BASIC, then TurboBASIC XL and Action! But now that
I'm looking at whipping up my own DLIs and VBIs, I'm finding paper + POKEing
to be a bit tedious & bug-prone. :)

With so little free time, and less coming (new baby in January!), I doubt
I'll get far, but I just wanted to share my door-opening experience.

Probably old-news to all you hackers who've been assembling stuff for 30+
years. :^)


PS - Should I bother grabbing a copy of MAC/65+DDT? I see that AtariMax
has a 'reissue' version for only $25. I also know there are many, many
disk-based assemblers out there that folks use.

PPS - Oh, and I discovered a MAC/65-based cross-assembler that can run
on Linux. Maybe between that and poking around at CC65, I could build
stuff on this newfangled laptop. Too bad the keyboard absolutely sucks,
esp. compared to my 1200XL. ;)

--
-bill!
Sent from my computer
--- Synchronet 3.13a-Win32 NewsLink 1.83
Re: First assemble [message #317 is a reply to message #316] Mon, 12 December 2011 15:42 Go to previous message
ricortes is currently offline  ricortes
Messages: 13
Registered: December 2011
Karma: 0
Junior Member
From Newsgroup: comp.sys.atari.8bit

On Dec 11, 9:41 am, b...@newbreedsoftware.com (Bill Kendrick) wrote:
> So it wasn't until recently (inheriting someone's big collection of 8-bit
> stuff) that I had an honest-to-goodness book on assembly language for
> the Atari.  I also inherited an Atari Assembler Editor cart.
>
> I was a bit weepy last night.  For the first time, after all these years
> of hacking on my Ataris, I typed in a little assembly language program,
> assembled it, and ran it.
>
> I was a bit spoiled by BASIC, then TurboBASIC XL and Action!  But now that
> I'm looking at whipping up my own DLIs and VBIs, I'm finding paper + POKEing
> to be a bit tedious & bug-prone. :)
>
> With so little free time, and less coming (new baby in January!), I doubt
> I'll get far, but I just wanted to share my door-opening experience.
>
> Probably old-news to all you hackers who've been assembling stuff for 30+
> years. :^)
>
> PS - Should I bother grabbing a copy of MAC/65+DDT?  I see that AtariMax
> has a 'reissue' version for only $25.  I also know there are many, many
> disk-based assemblers out there that folks use.
>
> PPS - Oh, and I discovered a MAC/65-based cross-assembler that can run
> on Linux.  Maybe between that and poking around at CC65, I could build
> stuff on this newfangled laptop.  Too bad the keyboard absolutely sucks,
> esp. compared to my 1200XL. ;)
>
> --
> -bill!
> Sent from my computer

$.02

It is a fine assembler for getting your feet wet. At some future date
you may want to change.

The other options for assembler are stylistic: It is subjective based
on how you like to work. Some people go macro crazy and others such as
myself just don't use the feature.

A macro example from Mapping


.MACRO MOVEWORD
LDA %1
STA %2
LDA %1+1
STA %2+1
.ENDM

.MACRO MOVEBYTE
LDA %1
STA %2
.ENDM

If you are really into BASIC or Action! keywords you could name the
above PokeC and Poke respectively. In use you would have a file with
your predefined macros and include it in your assembly program. There
are problems in that you have to essentially write your own keywords,
remember the exact syntax, and have the files on your work disk.

Heck, I got used to the Atari ED/ASM. It takes so freaking long to
compile, I would write code for an hour or so between compiles then
make myself a sandwich while it chugged away on the compile. The
debugger on it isn't so hot so I would use OMNIMON instead. SOP, write
a ton of code, save to disk, compile from disk, go eat a sandwich,
come back, fix errors, compile from disk, bathroom break, run program,
crash, use OMNIMON to figure out what I did wrong, rinse and repeat.

I was probably among the first to defect to cross assemblers. I had a
Tandy 1000tx which was an 8 mHz '286 and TASM was my compiler of
choice. You've probably already run into the problem with Action!: As
your programs get bigger there isn't enough room to have them and
your compiled code resident in memory at the same time so you compile
from disk. Once you get to that stage with assembly it makes sense to
go with good editor and cross compiler. That is the time when you will
be forced to switch to something more sophisticated.

****As long as you are just writing a couple of lines of code to
change the left margin or background colors you are fine.****

It's a tough call because you will eventually want to chose the
environment that is most suited to your style. You've been on Linux
for a while so you are used to multitasking and fault tolerant
systems. I wonder if you can go back! :)

I like to have my code in a word processor/editor on the
Intel side, Atari running either in emulation or connected via SIO2PC,
then compile and test from there. Atari crashes, you still have your
code safe in the Intel box. Sheesh! TASM would compile a 30k assembly
files in 2 seconds. If I was doing that on an Atari with an ED/ASM
cart I would still be waiting.

Rick
--- Synchronet 3.13a-Win32 NewsLink 1.83
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Atari 8-Bit Computers: Vendors and Developers
Next Topic: Welcome to comp.sys.atari.8bit!
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Apr 19 06:17:34 EDT 2024

Total time taken to generate the page: 0.13331 seconds