Download the Editor/Assembler IV rel.3 binary files now
| ||
The Editor
The Editor/Assembler IV module contains the EDIT1 version 2.0 editor with 2 new
editor menu (fctn-9) functions:
| ||
The Debugger
The Editor/Assembler IV module contains a simple DEBUG program.
| ||
When the debugger is started the load interrupt vector is set to an address
location so that the DEBUG program can be re-enterred when a load interrupt
occurs. When the debugger is ended the load interrupt vector is set equal to
the reset vector.
| ||
B - Breakpoint set/clear
Syntax:
| ||
C - CRU inspect/change
Syntax:
| ||
E - Execute program
Syntax:
| ||
M - CPU/GROM/VDP ROM/RAM address inspect/change
Syntax:
| ||
R - CPU registers inspect/change
Syntax:
| ||
W - Workspace register inspect/change
Syntax:
| ||
Q - Quit debugger, return to E/A module
Syntax:
|
Features of the Editor/Assembler IV module
The Editor/Assembler IV module functioning is the same as the standard
Editor/Assembler module, but the Editor/Assembler IV module has got a few extra
features:
| ||
ExampleIn the explanation below the following "hello world" assembler program will be used for demonstrating the features of the Editor/Assembler III module. This sample file is assumed to be saved as "DSK1.HELLO;S". | ||
0001 DEF HELLO,END 0002 REF VMBW 0003 0004 HELLO LI R0,18*32+6 0005 LI R1,TXT 0006 LI R2,19 0007 BLWP @VMBW 0008 RT 0009 0010 TXT TEXT '*** HELLO WORLD ***' 0011 0012 END END 0013 *EOF (VERSION 2.0) |
||
A hello world program saved as DSK1.HELLO;S | ||
Using the editor
From the Editor/Assembler main menu select option "1 TO EDIT" to open the editor
menu and next select option "1 TO LOAD" to load from disk an
existing file first, for example "DSK1.HELLO;S" or select option "2 TO
EDIT" for creating a new file. When finished editing press fctn-9
twice to return to the editor menu. When option "3 TO SAVE" is selected at
this time then:
| ||
* EDITOR * PRESS: 1 TO LOAD 2 EDIT 3 SAVE 4 PRINT 5 PURGE VAR 80 FORMAT(Y/N)? Y FILE NAME? DSK1.HELLO;S |
||
The Editor menu | ||
Using the AssemblerFrom the Editor/Assembler main menu select option "2 TO ASSEMBLE" to go to the assembler menu and choose "Y" to load the Assembler. When leaving the assembler menu at this time the last loaded source file is still available in memory for editing. | ||
* ASSEMBLER * LOAD ASSEMBLER(Y/N)? Y |
||
The Assembler menu, press Y to continue. | ||
| ||
* ASSEMBLER * SOURCE FILE NAME? DSK1.HELLO;S OBJECT FILE NAME? DSK1.HELLO;O LIST FILE NAME? DSK1.HELLO;L OPTIONS? RLS |
||
Filling in the assembler details. | ||
| ||
0001 DSK1.HELLO;S 0002 DSK1.HELLO;O 0003 DSK1.HELLO;L 0004 RLS |
||
A sample assembler command file saved as "DSK1.HELLO;A". | ||
| ||
* ASSEMBLER * SOURCE FILE NAME? @DSK1.HELLO;A |
||
Using the assembler command file "DSK1.HELLO;A". | ||
Using the Loader
From the Editor/Assembler main menu select option "3 TO LOAD AND RUN" to go to
the loader menu. The loader menu can still be used as normal:
| ||
* LOAD AND RUN * FILE NAME? DSK1.HELLO;O PROGRAM NAME? HELLO *** HELLO WORLD *** PRESS ENTER TO CONTINUE |
||
Loading and running the "HELLO WORLD" sample program. | ||
| ||
0001 .L DSK1.HELLO;O 0002 .S DSK1.HELLO HELLO END >2000 >2700 |
||
A sample loader command file saved as "DSK1.HELLO;P" for creating a "HELLO WORLD" program file. | ||
| ||
* LOAD AND RUN * FILE NAME? @DSK1.HELLO;P .L DSK1.HELLO;O |
||
Using the loader command file "DSK1.HELLO;P". | ||
| ||
* RUN PROGRAM FILE * FILE NAME? DSK1.HELLO ONE MOMENT PLEASE... *** HELLO WORLD *** PRESS ENTER TO CONTINUE |
||
Running the program file "DSK1.HELLO". |
The hardware
Editor/Assembler IV must be programmed in a 27(c)256 EPROM (32Kb) and can be
used on a TI99/4A Cart 16K v02a or a TI99/4A Cart 64K v03c as created by John
Guidry, see www.hexbus.com. The original concept of cartridges like this can be
found at www.mainbyte.com.
When using a TI99/4A Cart 64K v03c just place the programmed 27(c)256 EPROM (32Kb) in the socket and place jumpers JP1 and JP4. When using a TI99/4A Cart 16K cart v02a also some soldering must be done. | ||
|
||
The TI99/4A Cart 16K v02a can be configured for a 27(c)256 EPROM (32Kb) by
soldering a wire from pin #5 (2D) of the 74LS379 to pin #8 (A2) of the EPROM
socket and a wire from pin #6 (/2Q) of the 74LS379 to to pin #27 (/PGM) of the
EPROM socket. Pin #27 of a 27(c)256 EPROM is A14. If you have a TI99/4A Cart
64K v03c place jumper JP1 and JP4 to be used wit ha 27(c)256 PEROM (32Kb). |
74LS379 Quad D-type flip-flops with enable .____ ____. | \__/ | /G | 1 16 | Vcc 1Q | 2 2 15 | 4Q /1Q | 3 7 14 | /4Q 1D | 4 L 13 | 4D (wire) A2<- 2D | 5 S 12 | 3D (wire)PGM<-/2Q | 6 3 11 | /3Q 2Q | 7 7 10 | 3Q Gnd | 8 9 9 | Clk |____________| EPROM 27(c)64/128 socket on the EPROM 27(c)256 TI99/4A Cart 16K v02a containing the E/A module the Editor, Assembler and LL. ._____ _____. ._____ _____. | \__/ | | \__/ | Vpp | 1 28 | Vcc Vpp | 1 28 | Vcc A12 | 2 27 | /PGM->/2Q(wire) A12 | 2 27 | A14 A7 | 3 26 | NC - A13 A7 | 3 26 | A13 A6 | 4 2 25 | A8 A6 | 4 2 25 | A8 A5 | 5 7 24 | A9 A5 | 5 7 24 | A9 A4 | 6 (C) 23 | A11 A4 | 6 (C) 23 | A11 A3 | 7 6 22 | /OE A3 | 7 2 22 | /OE (wire)2D<-A2 | 8 4 21 | A10 A2 | 8 5 21 | A10 A1 | 9 / 20 | /CE A1 | 9 6 20 | /CE A0 | 10 1 19 | D8 A0 | 10 19 | D8 D1 | 11 2 18 | D7 D1 | 11 18 | D7 D2 | 12 8 17 | D6 D2 | 12 17 | D6 D3 | 13 16 | D5 D3 | 13 16 | D5 GND | 14 15 | D4 GND | 14 15 | D4 |______________| |______________| |