Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
jpg
AMAC.jpg 385.5 kB 1 25-Feb-2014 03:19 Roland B. Wassenberg AMAC.jpg
pdf
ATARI Assembler Editor Referen... 1,669.7 kB 1 25-Feb-2014 00:40 Roland B. Wassenberg ATARI Assembler Editor Reference Card
pdf
ATARI Assembler Editor User-s ... 5,774.6 kB 1 16-Jan-2018 15:38 Roland B. Wassenberg ATARI Assembler Editor User-s Manual-OCR.pdf
pdf
ATARI Assembler Editor User_s ... 5,774.6 kB 1 16-Jan-2018 15:31 Roland B. Wassenberg ATARI Assembler Editor User's Manual-OCR.pdf
pdf
ATARI Assembler Editor Users M... 2,209.1 kB 1 25-Feb-2014 00:40 Roland B. Wassenberg ATARI Assembler Editor Users Manual Update
pdf
ATARI Assembler Editor Users M... 16,488.6 kB 1 25-Feb-2014 00:35 Roland B. Wassenberg ATARI Assembler Editor User's Manual
zip
ATARI Assembler Editor short.z... 1,386.9 kB 1 25-Feb-2014 00:47 Roland B. Wassenberg ATARI Assembler Editor short
bin
Assembler Editor - Revision A.... 8.2 kB 1 09-Sep-2017 21:19 Roland B. Wassenberg Assembler Editor - Revision A.bin
car
Assembler Editor - Revision A.... 8.2 kB 1 09-Sep-2017 21:18 Roland B. Wassenberg Assembler Editor - Revision A.car
jpg
Assembler Editor - Revision A.... 9.9 kB 1 09-Sep-2017 19:52 Roland B. Wassenberg Assembler Editor - Revision A.jpg
rom
Assembler Editor - Revision A.... 8.2 kB 1 09-Sep-2017 21:19 Roland B. Wassenberg Assembler Editor - Revision A.rom
xex
Assembler Editor - Revision A.... 8.3 kB 2 09-Sep-2017 21:35 Roland B. Wassenberg Assembler Editor - Revision A.xex
bin
Assembler Editor - Revision B.... 8.2 kB 2 09-Sep-2017 21:19 Roland B. Wassenberg Assembler Editor - Revision B.bin
car
Assembler Editor - Revision B.... 8.2 kB 1 09-Sep-2017 21:19 Roland B. Wassenberg Assembler Editor - Revision B.car
jpg
Assembler Editor - Revision B.... 14.2 kB 1 09-Sep-2017 19:52 Roland B. Wassenberg Assembler Editor - Revision B.jpg
rom
Assembler Editor - Revision B.... 8.2 kB 1 09-Sep-2017 21:20 Roland B. Wassenberg Assembler Editor - Revision B.rom
xex
Assembler Editor - Revision B.... 8.3 kB 2 09-Sep-2017 21:35 Roland B. Wassenberg Assembler Editor - Revision B.xex
jpg
Assembler Editor Brown front.j... 29.6 kB 1 25-Feb-2014 02:30 Roland B. Wassenberg Assembler Editor Brown front.jpg
jpg
Assembler Editor Error Codes 0... 277.4 kB 1 09-Sep-2017 22:08 Roland B. Wassenberg Assembler Editor Error Codes 001-139.jpg
jpg
Assembler Editor Error Codes 1... 50.5 kB 1 09-Sep-2017 22:09 Roland B. Wassenberg Assembler Editor Error Codes 140-165.jpg
car
Assembler Editor.car 8.2 kB 1 25-Feb-2014 00:48 Roland B. Wassenberg Assembler Editor.car
jpg
Assembler Mnemonics 1.jpg 218.8 kB 1 09-Sep-2017 22:09 Roland B. Wassenberg Assembler Mnemonics 1.jpg
jpg
Assembler Mnemonics 2.jpg 46.7 kB 1 09-Sep-2017 22:09 Roland B. Wassenberg Assembler Mnemonics 2.jpg
jpg
Assembler.jpg 227.6 kB 1 09-Sep-2017 22:09 Roland B. Wassenberg Assembler.jpg
atr
Atari Assembler Editor with DO... 92.2 kB 3 09-Sep-2017 21:35 Roland B. Wassenberg Atari Assembler Editor with DOS 2.0S.atr
atr
Atari Assembler Editor with OS... 92.2 kB 3 09-Sep-2017 21:35 Roland B. Wassenberg Atari Assembler Editor with OSS DOS XL 2.30p Color.atr
bin
Atari Assembler Editor.bin 8.2 kB 1 25-Feb-2014 00:48 Roland B. Wassenberg Atari Assembler Editor
xex
Atari Assembler Editor.xex 8.3 kB 1 09-Sep-2017 21:19 Roland B. Wassenberg Atari Assembler Editor.xex
zip
Atari Macro Assembler V1.0A an... 132.0 kB 1 25-Feb-2014 03:28 Roland B. Wassenberg Atari Macro Assembler V1.0A and Program-Text Editor 1.0 and Editor Customizing M
zip
Atari Macro Assembler V1.0A an... 111.7 kB 1 25-Feb-2014 03:28 Roland B. Wassenberg Atari Macro Assembler V1.0A and Program-Text Editor 1.0.zip
zip
Atari Macro Assembler Ver. 1.0... 194.7 kB 1 25-Feb-2014 03:28 Roland B. Wassenberg Atari Macro Assembler Ver. 1.0C.zip
zip
Atari Macro Assembler and Prog... 10,522.1 kB 1 25-Feb-2014 02:58 Roland B. Wassenberg Atari Macro Assembler and Program-Text Editor manual.zip
pdf
Atari Macro Assembler and Prog... 12,426.0 kB 1 25-Feb-2014 00:43 Roland B. Wassenberg Atari Macro Assembler and Program-Text Editor
jpg
Atari Macro Assembler.jpg 117.2 kB 1 25-Feb-2014 02:30 Roland B. Wassenberg Atari Macro Assembler.jpg
pdf
Atari Macro Assembler.pdf 10,191.5 kB 1 25-Feb-2014 03:05 Roland B. Wassenberg Atari Macro Assembler.pdf
pdf
Atari_Assembler_Editor_User_s_... 20,561.5 kB 2 25-Nov-2018 14:56 Roland B. Wassenberg Atari_Assembler_Editor_User's_Manual_Errata.pdf
pdf
Atari_Assembler_Editor_cartrid... 912.1 kB 1 06-Jan-2016 18:41 Roland B. Wassenberg Atari_Assembler_Editor_cartridge_manual_errata
jpg
Cart.jpg 80.5 kB 1 28-Jan-2015 21:41 Roland B. Wassenberg Mac-65 Cartridge
jpg
Change Editor Color.jpg 33.7 kB 1 09-Sep-2017 22:25 Roland B. Wassenberg Change Editor Color.jpg
jpg
Debugger.jpg 156.1 kB 1 09-Sep-2017 22:09 Roland B. Wassenberg Debugger.jpg
jpg
Der Atari Assembler Cover.jpg 236.6 kB 1 25-Feb-2014 02:30 Roland B. Wassenberg Der Atari Assembler Cover.jpg
jpg
Der Atari Assembler.jpg 13.3 kB 1 25-Feb-2014 02:31 Roland B. Wassenberg Der Atari Assembler.jpg
pdf
EDITOR CUSTOMIZING MANAGER.pdf 50.4 kB 1 25-Feb-2014 03:00 Roland B. Wassenberg EDITOR CUSTOMIZING MANAGER.pdf
txt
EDITOR CUSTOMIZING MANAGER.txt 20.0 kB 1 25-Feb-2014 03:17 Roland B. Wassenberg EDITOR CUSTOMIZING MANAGER.txt
jpg
Edit 6502-1.jpg 90.8 kB 1 16-Mar-2014 22:49 Roland B. Wassenberg Edit 6502-1
jpg
Edit 6502-2.jpg 124.0 kB 1 16-Mar-2014 22:50 Roland B. Wassenberg Edit 6502-2
car
Edit6502 LJK (16K).car 16.4 kB 1 25-Feb-2014 00:51 Roland B. Wassenberg Edit6502 LJK (16K).car
car
Edit6502 LJK (8K).car 8.2 kB 1 25-Feb-2014 00:51 Roland B. Wassenberg Edit6502 LJK (8K).car
jpg
Editor.jpg 174.8 kB 1 09-Sep-2017 22:10 Roland B. Wassenberg Editor.jpg
jpg
Error Codes 2-171.jpg 227.4 kB 1 09-Sep-2017 22:10 Roland B. Wassenberg Error Codes 2-171.jpg
atr
Floating_Point_Package_A.atr 92.2 kB 1 17-Feb-2015 01:08 Roland B. Wassenberg Floating_Point_Package_A
atr
Floating_Point_Package_B.atr 92.2 kB 1 17-Feb-2015 01:08 Roland B. Wassenberg Floating_Point_Package_B
txt
HELLO.ASM1.txt 1.6 kB 1 09-Sep-2017 19:07 Roland B. Wassenberg HELLO.ASM1.txt
txt
HELLO.ASM2.txt 2.7 kB 1 09-Sep-2017 19:07 Roland B. Wassenberg HELLO.ASM2.txt
atr
Hello_World_Source_Code_Atari_... 92.2 kB 1 09-Sep-2017 19:54 Roland B. Wassenberg Hello_World_Source_Code_Atari_Assembler-Editor_with_DOS_2.0S_SD.atr
atr
Hello_World_Source_Code_Atari_... 92.2 kB 1 09-Sep-2017 19:55 Roland B. Wassenberg Hello_World_Source_Code_Atari_Assembler-Editor_with_DOS_2.75_SD.atr
car
MAC 65 1.01 with DDT.car 16.4 kB 1 25-Feb-2014 00:49 Roland B. Wassenberg MAC 65 1.01 with DDT.car
rom
MAC 65 1.01.rom 16.4 kB 1 25-Feb-2014 00:49 Roland B. Wassenberg MAC 65 1.01.rom
car
MAC-65-Version 1.00.car 16.4 kB 1 28-Jan-2015 21:39 Roland B. Wassenberg MAC-65-Version 1.00.car
rom
MAC-65-Version 1.00.rom 16.4 kB 1 28-Jan-2015 21:40 Roland B. Wassenberg MAC-65-Version 1.00.rom
gif
MAC-65-Version 1.01.gif 3.4 kB 1 28-Jan-2015 21:40 Roland B. Wassenberg MAC-65-Version 1.01.gif
car
MAC-65-Version 1.02.car 16.4 kB 1 28-Jan-2015 21:39 Roland B. Wassenberg MAC-65-Version 1.02.car
gif
MAC-65-Version 1.02.gif 3.4 kB 1 28-Jan-2015 21:40 Roland B. Wassenberg MAC-65-Version 1.02.gif
rom
MAC-65-Version 1.02.rom 16.4 kB 1 28-Jan-2015 21:40 Roland B. Wassenberg MAC-65-Version 1.02.rom
pdf
MAC-65_ToolKit_Manual.pdf 6,958.5 kB 1 17-Feb-2015 00:42 Roland B. Wassenberg MAC-65_ToolKit_Manual
atr
MAC65_2.00_and_4.20_with_Bug65... 92.2 kB 1 17-Feb-2015 01:24 Roland B. Wassenberg MAC65_2.00_and_4.20_with_Bug65_2.0_and_DOS_XL_2.30
jpg
Mac-65 orange 1.jpg 22.7 kB 1 08-Feb-2015 00:26 Roland B. Wassenberg Mac-65 orange 1
atr
Mac_65_4.20_with_Bug-65_and_DO... 92.2 kB 1 17-Feb-2015 01:09 Roland B. Wassenberg Mac_65_4.20_with_Bug-65_and_DOS_XL_2.30
atr
Mac_65_Toolkit.atr 92.2 kB 1 17-Feb-2015 01:24 Roland B. Wassenberg Mac_65_Toolkit
atr
OSS EASMD 1.0 (1981).atr 92.2 kB 1 25-Feb-2014 00:49 Roland B. Wassenberg OSS EASMD 1.0 (1981).atr
cas
OSS EASMD 1.0 (1981).cas 12.9 kB 1 25-Feb-2014 00:48 Roland B. Wassenberg OSS EASMD 1.0 (1981).cas
pdf
OSS_EASMD_version_1.1.pdf 1,257.7 kB 1 19-Feb-2015 00:08 Roland B. Wassenberg OSS_EASMD_version_1.1
atr
OSS_OS-A-plus_1.2e_and_EASMD_1... 92.2 kB 2 17-Feb-2015 01:09 Roland B. Wassenberg OSS_OS-A-plus_1.2e_and_EASMD_1.0_(C)1981
jpg
Program-Text Editor.jpg 114.5 kB 1 25-Feb-2014 02:31 Roland B. Wassenberg Program-Text Editor.jpg
txt
THE AMAC ATARI MACRO ASSEMBLER... 17.1 kB 1 25-Feb-2014 03:07 Roland B. Wassenberg THE AMAC ATARI MACRO ASSEMBLER.txt
rtf
The Atari Assembler Editor Ref... 63.5 kB 2 09-Sep-2017 19:23 Roland B. Wassenberg The Atari Assembler Editor Reference.rtf
rtf
The Atari Assembler Editor bug... 3.6 kB 2 12-Sep-2017 15:59 Roland B. Wassenberg The Atari Assembler Editor bug list.rtf
jpg
The_Atari_Assembler.jpg 71.7 kB 1 06-Jan-2016 19:00 Roland B. Wassenberg The_Atari_Assembler
jpg
assembler_editor_cart_2.jpg 139.5 kB 1 09-Sep-2017 19:50 Roland B. Wassenberg assembler_editor_cart_2.jpg
jpg
assembler_editor_cart_3.jpg 62.2 kB 1 09-Sep-2017 19:50 Roland B. Wassenberg assembler_editor_cart_3.jpg
jpg
assembler_editor_d_cart_1.jpg 63.7 kB 2 09-Sep-2017 20:29 Roland B. Wassenberg assembler_editor_d_cart_1.jpg
jpg
assembler_editor_d_cart_2.jpg 80.9 kB 2 09-Sep-2017 20:29 Roland B. Wassenberg assembler_editor_d_cart_2.jpg

This page (revision-56) was last changed on 24-Jun-2019 15:27 by Maury Markowitz  

This page was created on 24-Feb-2014 23:30 by Roland B. Wassenberg

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed 5 lines
!!!Atari Assembler Editor ; Copyright (C) 1980 Atari, Inc. & Kathleen Ann O'Brien
!!CAR-Image
* [Assembler Editor.car]
!!BIN-Image
* [Atari Assembler Editor.bin]
!!!Atari Assembler Editor
Copyright (C) 1980 Atari, Inc. & Kathleen Ann O'Brien
[{TableOfContents }]
!Background
Atari hired Shepardson Microsystems to write [Atari BASIC] for the 8-bit line. Shepardson developed it using a cross-compiler, but took the opportunity to begin writing their own assembler for the Atari platform as well. This was released by Atari in ROM cartridge form in 1980.
Atari Assembler Editor shared many components with Atari BASIC, notably the screen editor which used the same line-number based system as BASIC. However, it added several editing commands, including a RENumber and DELete, which, perhaps surprisingly, could also be used to edit BASIC programs.
The system ran entirely in RAM, meaning that both the source code and resulting machine code had to be able to fit in memory at the same time. This could be a significant limitation in many situations. Additionally, it did not include the ability to link multiple files together into a single larger program, which put further limits on the sort of programs that could be developed with it. [Eastern Front 1941], which was about 12 to 16k of machine code, required the source to be broken into six modules and then linked together by hand using DOS. Significant effort was needed to ensure that the memory references in the six files were correct, as they referred to code in other modules who's position changed as they were recompiled.
For larger programs, Atari also sold the [Atari Macro Assembler and Program-Text Editor CX8121|Atari Macro Assembler], which used a separate full-screen editor, saved files to disk, and included a linker. This was, however, both slow and expensive. As a result, many programmers were left wanting something more powerful than Assembler Editor (notably with macro support, which it lacked) but faster and less expensive than Macro Assembler. This led to a thriving market for 3rd party assemblers on the Atari platform.
The Atari Assembler Editor cartridge was a program used to edit, compile and debug assembly language programs for the Atari 8-bit computers. It was programmed by Kathleen Ann O'Brien of Shepardson Microsystems, Inc., later founding member of OSS, Inc.. It was the first commercially available assembler for the Atari 8-bit computers ever. And yes, it was programmed by a woman. Showing once more, how far ahead of time SMI and OSS were. The program was a two-pass 6502 assembler, in an 8 KB cartridge. With the command __SIZE__, the user gets the info, how much space is free and the command __DOS__, exits the cartridge and jumps into the Disk Operating System (DOS). There are rumors of a __LOMEM__ command, but AtariWiki couldn't verify this.
!!Assembler Editor - revision A & B cartridges, outlook for revision C and maybe D
There are two different versions of the cartridge which could be verified very easy, please see the md5 checksums below. AtariWiki dares to define them as revision A and B in analogy to the Atari Basic cartridge, which was delivered in three different versions. It is easy to find out, which version one has, just type in ASM and hit RETURN. If you have a revision A cartridge, no error message is shown, in case you have a revision B cartridge, the amount of errors are shown. Please see the two pictures below for an example:
[{Image src='Assembler Editor - Revision A.jpg' width=183 height=187 }]
Assembler Editor - revision A cartridge test result\\
\\
[{Image src='Assembler Editor - Revision B.jpg' width=286 height=307 }]
Assembler Editor - revision B cartridge test result\\
\\
__A binary compare of both cartridges did show, that there is much more different than that! Future investigations have to show, what else is different and how the user can profit of it.__\\
\\
__Revision C:__\\
In the future all bugs shoud be collected and if they can be fixed, a revision C is thinkable. Of course, this requires the source code of the program, which we sadly do not have, nor a license for. Maybe there will be a good soul out there, who will give it to us in the future? At least, the [source code chapter|https://atariwiki.org/wiki/Wiki.jsp?page=Articles#section-Articles-SourceCode] has shown, that there is always hope, unless we never give up. :-)\\
\\
__Revision D:__\\
If we go far ahead of this, then even an interbreed with the [TURBO-BASIC XL source code|https://atariwiki.org/wiki/Wiki.jsp?page=TURBO-BASIC%20XL#section-TURBO-BASIC+XL-SourceCode] is thinkable. In 1985 this was done for the Atari Basic cartridge by Frank Ostrowski and because many code routines are similar, there is a great chance to achieve this. Of course, even a renaming of the cartrige is possible, AtariWiki suggest to call it: 'Atari Turbo-Assembler Editor'. ;-)
!!CAR images
* [Assembler Editor - Revision A.car]
* [Assembler Editor - Revision B.car]
!!ROM images
* [Assembler Editor - Revision A.rom] ; md5 checksum: 13b6dfbcad3ee35f511209b790e04675
* [Assembler Editor - Revision B.rom] ; md5 checksum: aaf134cca657e21e2ad692b03a3233e0
!!BIN images
* [Assembler Editor - Revision A.bin]
* [Assembler Editor - Revision B.bin]
!!ATR images
* [Atari Assembler Editor with DOS 2.0S.atr] ; Assembler Editor - Revision A & B with Atari DOS 2.0S
* [Atari Assembler Editor with OSS DOS XL 2.30p Color.atr] ; Assembler Editor - Revision A & B with OSS DOS XL 2.30p Color
* [Hello_World_Source_Code_Atari_Assembler-Editor_with_DOS_2.0S_SD.atr]
* [Hello_World_Source_Code_Atari_Assembler-Editor_with_DOS_2.75_SD.atr]
!!XEX files
* [Assembler Editor - Revision A.xex] ; Assembler Editor - Revision A execution file
* [Assembler Editor - Revision B.xex] ; Assembler Editor - Revision B execution file
At line 58 added one line
* [ATARI Assembler Editor User's Manual with OCR|ATARI Assembler Editor User-s Manual-OCR.pdf] ; size: 5.8 MB ; good quality
At line 9 changed one line
* [ATARI Assembler Editor User's Manual Errata|Atari_Assembler_Editor_cartridge_manual_errata.pdf] ; size: 238 KB
* [ATARI Assembler Editor User's Manual Errata 1|Atari_Assembler_Editor_User_s_Manual_Errata.pdf] ; size: 20.6 MB ; Many thanks to Atarimania!
* [ATARI Assembler Editor User's Manual Errata 2|Atari_Assembler_Editor_cartridge_manual_errata.pdf] ; size: 238 KB
At line 65 added 2 lines
* [The Atari Assembler Editor Reference.rtf] ; The Atari Assembler Editor Reference by Matthew J. W. Ratcliff
* [The Atari Assembler Editor bug list.rtf] ; List of known bugs in the program, with description, solution, work around and source
At line 13 changed one line
[{Image src='The_Atari_Assembler.jpg' width=419 height=640 }]
[{Image src='The_Atari_Assembler.jpg' width=200 height=306 }]
At line 16 changed one line
[{Image src='Der Atari Assembler.jpg' width=164 height=240 }]
[{Image src='Der Atari Assembler.jpg' width=200 height=293 }]
At line 74 added 9 lines
[{Image src='Der Atari Assembler Cover.jpg' width=390 height=520 }]
Atari Assembler Editor Box Cover - front\\
\\
[{Image src='assembler_editor_cart_2.jpg' width=390 height=494 }]
Atari Assembler Editor Box Cover - back\\
\\
[{Image src='assembler_editor_cart_3.jpg' width=200 height=241 }]
Assembler Editor Cartridge - Revision A\\
\\
At line 20 changed one line
Assembler Editor Cartridge\\
Assembler Editor Cartridge - Revision B\\
At line 22 changed 2 lines
[{Image src='Der Atari Assembler Cover.jpg' width=300 height=400 }]
Atari Assembler Editor Box Cover
[{Image src='assembler_editor_d_cart_1.jpg' width=300 height=425 }]
Atari Assembler Editor Box Cover - front German version\\
\\
[{Image src='assembler_editor_d_cart_2.jpg' width=300 height=429 }]
Atari Assembler Editor Box Cover - back German version
!!References
* [http://ataripodcast.libsyn.com/antic-interview-21-the-atari-8-bit-podcast-kathleen-obrien-oss] ; ANTIC Interview 22 - The Atari 8-bit Podcast - with Kathleen Ann O'Brien from OSS, Inc.
* [https://computingpioneers.com/index.php/Kathleen_O%27Brien] ; transcript of the interview above
* [http://a8preservation.com/#/software/title/%2Fapi%2Ftitles%2F587] ; Atari Assembler Editor on [a8preservation.com|http://a8preservation.com]
* [http://www.atarimagazines.com/hi-res/v1n1/advanceduser.php] ; Atari Assembler Editor in comparison to other assemblers by Russ Wetmore
* [http://open-source.ma.web.id/IT/1634-1523/Atari-Assembler-Editor_5818_open-source-ma.html] ; good info page about the Atari Assembler Editor including the Hello World! source code
* [Atari Assembler Editor discussion on AtariAge|http://atariage.com/forums/topic/193906-atari-assembler-editor-cartridge-and-inline-comments/?hl=atari+assembler+editor#entry2463276] ; discussion on AtariAge about the Atari Assembler Editor
!!Changing the editors color and background
[{Image src='Change Editor Color.jpg' width=234 height=554 }]
Assembler Editor Cartridge - changing the editor's color and background to user desired colors for better editing
!!Hello World! Source Code for the Atari Assembler Editor
This is the Hello World! source code:
{{{
10 ; HELLO.ASM
20 ; ---------
30 ;
40 ; THIS ATARI ASSEMBLY PROGRAM
50 ; WILL PRINT THE "HELLO WORLD"
60 ; MESSAGE TO THE SCREEN
70 ;
0100 ; CIO EQUATES
0110 ; ===========
0120 *= $0340 ;START OF IOCB
0130 IOCB
0140 ;
0150 ICHID *= *+1 ;DEVICE HANDLER
0160 ICDNO *= *+1 ;DEVICE NUMBER
0170 ICCOM *= *+1 ;I/O COMMAND
0180 ICSTA *= *+1 ;I/O STATUS
0190 ICBAL *= *+1 ;LSB BUFFER ADDR
0200 ICBAH *= *+1 ;MSB BUFFER ADDR
0210 ICPTL *= *+1 ;LSB PUT ROUTINE
0220 ICPTH *= *+1 ;MSB PUT ROUTINE
0230 ICBLL *= *+1 ;LSB BUFFER LEN
0240 ICBLH *= *+1 ;MSB BUFFER LEN
0250 ICAX1 *= *+1 ;AUX BYTE 1
0260 ICAX2 *= *+1 ;AUX BYTE 1
0270 ;
0280 GETREC = 5 ;GET TEXT RECORD
0290 PUTREC = 9 ;PUT TEXT RECORD
0300 ;
0310 CIOV = $E456 ;CIO ENTRY VECTOR
0320 RUNAD = $02E0 ;RUN ADDRESS
0330 EOL = $9B ;END OF LINE
0340 ;
0350 ; SETUP FOR CIO
0360 ; -------------
0370 *= $0600
0380 START LDX #0 ;IOCB 0
0390 LDA #PUTREC ;WANT OUTPUT
0400 STA ICCOM,X ;ISSUE CMD
0410 LDA #MSG&255 ;LOW BYTE OF MSG
0420 STA ICBAL,X ; INTO ICBAL
0430 LDA #MSG/256 ;HIGH BYTE
0440 STA ICBAH,X ; INTO ICBAH
0450 LDA #0 ;LENGTH OF MSG
0460 STA ICBLH,X ; HIGH BYTE
0470 LDA #$FF ;255 CHAR LENGTH
0480 STA ICBLL,X ; LOW BYTE
0490 ;
0500 ; CALL CIO TO PRINT
0510 ; -----------------
0520 JSR CIOV ;CALL CIO
0530 RTS ;EXIT TO DOS
0540 ;
0550 ; OUR MESSAGE
0560 ; -----------
0570 MSG .BYTE "HELLO WORLD!",EOL
0580 ;
0590 ; INIT RUN ADDRESS
0600 ; ----------------
0610 *= RUNAD
0620 .WORD START
0630 .END
}}}
This is the Hello World! source code in assembled form:
{{{
10 ; HELLO.ASM
20 ; ---------
30 ;
40 ; THIS ATARI ASSEMBLY PROGRAM
50 ; WILL PRINT THE "HELLO WORLD"
60 ; MESSAGE TO THE SCREEN
70 ;
0100 ; CIO EQUATES
0110 ; ===========
0000 0120 *= $0340 ;START OF IOCB
0130 IOCB
0140 ;
0340 0150 ICHID *= *+1 ;DEVICE HANDLER
0341 0160 ICDNO *= *+1 ;DEVICE NUMBER
0342 0170 ICCOM *= *+1 ;I/O COMMAND
0343 0180 ICSTA *= *+1 ;I/O STATUS
0344 0190 ICBAL *= *+1 ;LSB BUFFER ADDR
0345 0200 ICBAH *= *+1 ;MSB BUFFER ADDR
0346 0210 ICPTL *= *+1 ;LSB PUT ROUTINE
0347 0220 ICPTH *= *+1 ;MSB PUT ROUTINE
0348 0230 ICBLL *= *+1 ;LSB BUFFER LEN
0349 0240 ICBLH *= *+1 ;MSB BUFFER LEN
034A 0250 ICAX1 *= *+1 ;AUX BYTE 1
034B 0260 ICAX2 *= *+1 ;AUX BYTE 1
0270 ;
0005 0280 GETREC = 5 ;GET TEXT RECORD
0009 0290 PUTREC = 9 ;PUT TEXT RECORD
0300 ;
E456 0310 CIOV = $E456 ;CIO ENTRY VECTOR
02E0 0320 RUNAD = $02E0 ;RUN ADDRESS
009B 0330 EOL = $9B ;END OF LINE
0340 ;
0350 ; SETUP FOR CIO
0360 ; -------------
034C 0370 *= $0600
0600 A200 0380 START LDX #0 ;IOCB 0
0602 A909 0390 LDA #PUTREC ;WANT OUTPUT
0604 9D4203 0400 STA ICCOM,X ;ISSUE CMD
0607 A91F 0410 LDA #MSG&255 ;LOW BYTE OF MSG
0609 9D4403 0420 STA ICBAL,X ; INTO ICBAL
060C A906 0430 LDA #MSG/256 ;HIGH BYTE
060E 9D4503 0440 STA ICBAH,X ; INTO ICBAH
0611 A900 0450 LDA #0 ;LENGTH OF MSG
0613 9D4903 0460 STA ICBLH,X ; HIGH BYTE
0616 A9FF 0470 LDA #$FF ;255 CHAR LENGTH
0618 9D4803 0480 STA ICBLL,X ; LOW BYTE
0490 ;
0500 ; CALL CIO TO PRINT
0510 ; -----------------
061B 2056E4 0520 JSR CIOV ;CALL CIO
061E 60 0530 RTS ;EXIT TO DOS
0540 ;
0550 ; OUR MESSAGE
0560 ; -----------
061F 48 0570 MSG .BYTE "HELLO WORLD!",EOL
0620 45
0621 4C
0622 4C
0623 4F
0624 20
0625 57
0626 4F
0627 52
0628 4C
0629 44
062A 21
062B 9B
0580 ;
0590 ; INIT RUN ADDRESS
0600 ; ----------------
062C 0610 *= RUNAD
02E0 0006 0620 .WORD START
02E2 0630 .END
0 ERRORS
}}}
!!Atari Assembler Editor Mnemonics
{{{
ADC Add Memory to Accumulator with Carry
AND AND Accumulator with Memory
ASL Shift Left (Accumulator or Memory)
BCC Branch if Carry Clear
BCS Branch if Carry Set
BEQ Branch if Result = Zero
BIT Test Memory Against Accumulator
BMI Branch if Minus Result
BNE Branch if Result ≠ Zero
BPL Branch on Plus Result
BRK Break
BVC Branch if V Flag Clear
BVS Branch if V Flag Set
CLC Clear Carry Flag
CLD Clear Decimal Mode Flag
CLI Clear Interrupt Disable flag (Enable Interrupt)
CLV Clear V Flag
CMP Compare Accumulator and Memory
CPX Compare Register X and Memory
CPY Compare Register Y and Memory
DEC Decrement Memory
DEX Decrement Register X
DEY Decrement Register Y
EOR Exclusive-OR Accumulator with Memory
INC Increment Memory
INX Increment Register X
INY Increment Register Y
JMP Jump to New Location
JSR Jump to Subroutine
LDA Load Accumulator
LDX Load Register X
LDY Load Register Y
LSR Shift Right (Accumulator or Memory)
NOP No Operation
ORA OR Accumulator with Memory
PHA Push Accumulator on Stack
PHP Push Processor Status Register (P) onto Stack
PLA Pull Accumulator from Stack
PLP Pull Processor Status Register (P) from Stack
ROL Rotate Left (Accumulator or Memory)
ROR Rotate Right (Accumulator or Memory)
RTI Return from Interrupt
RTS Return from Subroutine
SBC Subtract Memory from Accumulator with Borrow
SEC Set Carry Flag
SED Set Decimal Mode Flag
SEI Set Interrupt Disable Flag (Disable Interrupt)
STA Store Accumulator
STX Store Register X
STY Store Register Y
TAX Transfer Accumulator to Register X
TAY Transfer Accumulator to Register Y
TSX Transfer Register SP to Register X
TXA Transfer Register X to Accumulator
TXS Transfer Register X to Register SP
TYA Transfer Register Y to Accumulator
}}}
!!Commands and error codes
[{Image src='Editor.jpg' width=818 height=755 }]
Atari Assembler Editor - Editor commands\\
\\
[{Image src='Assembler.jpg' width=733 height=853 }]
Atari Assembler Editor - Assembler commands\\
\\
[{Image src='Debugger.jpg' width=841 height=669 }]
Atari Assembler Editor - Debugger commands\\
\\
[{Image src='Assembler Editor Error Codes 001-139.jpg' width=847 height=949 }]
Atari Assembler Editor - Error Codes 001-139\\
\\
[{Image src='Assembler Editor Error Codes 140-165.jpg' width=681 height=237 }]
Atari Assembler Editor - Error Codes 140-165\\
\\
[{Image src='Error Codes 2-171.jpg' width=782 height=895 }]
Atari Assembler Editor - Error Codes 2-171
Version Date Modified Size Author Changes ... Change note
56 24-Jun-2019 15:27 16.287 kB Maury Markowitz to previous minor edit
55 06-Jun-2019 21:47 16.197 kB Roland B. Wassenberg to previous | to last
54 25-Nov-2018 15:00 16.334 kB Roland B. Wassenberg to previous | to last
53 25-Nov-2018 14:59 16.334 kB Roland B. Wassenberg to previous | to last
52 25-Nov-2018 14:58 16.31 kB Roland B. Wassenberg to previous | to last
51 20-May-2018 02:42 16.164 kB Roland B. Wassenberg to previous | to last
50 18-May-2018 14:55 16.182 kB Maury Markowitz to previous | to last
49 08-May-2018 19:01 16.117 kB Maury Markowitz to previous | to last Atari Macro Assembler and Program-Text Editor CX8121 ==> Atari Macro Assembler
48 08-May-2018 18:55 16.095 kB Maury Markowitz to previous | to last
47 03-May-2018 20:10 16.107 kB Maury Markowitz to previous | to last Atari Basic ==> Atari BASIC
46 03-May-2018 16:59 16.095 kB Maury Markowitz to previous | to last
45 01-May-2018 03:13 15.998 kB Roland B. Wassenberg to previous | to last
44 30-Apr-2018 21:26 15.945 kB Maury Markowitz to previous | to last
43 16-Jan-2018 15:37 14.397 kB Roland B. Wassenberg to previous | to last
42 16-Jan-2018 15:35 14.397 kB Roland B. Wassenberg to previous | to last
41 11-Sep-2017 18:27 14.273 kB Roland B. Wassenberg to previous | to last
« This page (revision-56) was last changed on 24-Jun-2019 15:27 by Maury Markowitz