s100guy skrev:
---snip---
Post by s100guyIf you are interested in the
Cromemco assemblers, there are source files for three (v. 2.15, 3.01
and 3.15) on my Web site (www.hanscom.us, in the "boneyard") and a
copy of the manual. I think that at least some are CDOS specific, so
that may be a limiting factor.
Thanks,... on that site i found "asmb3_10.mac":
;
; disassembly of Cromemco CDOS assembler
; version 3.10 rzh 7/2009
;
---snip---
ORG 100h
JP start
h103: db ':'
h104: db 80h
h105: db 0
h106: db 14h
h107: db 0
h108: db 40h
db 7
---snip---
Here are the "keys" for those bit's & byte's:
<ole>
---
Appendix C - MODIFYING ZASM OPTIONS
The default value of various Assembler options can be
changed by modifying locations 103H to 109H for ZASM
(403H to 409H in case of ASMB).
These changes may be accomplished by assemble the
configurations file present in the next section to a
hex file with ZASM and then using the Cromemco DEBUG
program to first load ZASM.COM into memory and then
overlay the ZASM-CF.HEX file with DEBUG's 'R' command,
after that your ready to saving the modified ZASM.COM.
ZASM - ASMB
Hex Location Current bit Default Option
103 403 3AH PAGE=
104 404 80H WIDTH=
105 405 00H TOP=
106 406 0 0 Unused
1 0 Unused
2 0 XREF
3 0 SYMB
4 0 RANGE
5 0 PARITY
6 0 Unused
7 0 Unused
107 407 0 0 Unused
1 1 NOGEN
2 1 NOCOND
3 0 OPCODE
4 0 DEBUG (Unused)
5 0 COND
6 0 GEN
7 0 Unused
108 408 0 0 Unused
1 0 Unused
2 0 TEXT
3 1 NOTEXT
4 1 LISTON
5 0 LISTOFF
6 0 TRUNC
7 0 Unused
109 (number of chars for ENTRY & EXTRN
should only be 6 or 7)
---snip---
Title ZASM ConFig V1.01
Title2 File: ZASM-CF.Z80
; ************************************************
; Constants, Don't change!
; ************************************************
ON Equ -1
OFF Equ NOT ON
; ************************************************
; Assemble with: D>ZASM zasm-cf hex<cr>
; then
; Load: D>DEBUG zasm.com<cr>
; then
; -Fzasm-cf.hex<cr>
; -R<cr>
; and
; -Fzasm.com<cr>
; -W<cr>
; -^C
; and, I hope, you have perfect working -
; copy of your favorite assembler
; ************************************************
; Select paper size
; ************************************************
Top Equ 0 ; Line(s)/ before Title
Length Equ 66 ; Lines / Page
Width Equ 80 ; Char / Width
; ************************************************
; Select ON or OFF for options
; ************************************************
Xref Equ OFF ; Xref Tabl.
Symbol Equ OFF ; Symbol Tabl.
Range Equ OFF ; mark (Jp)
Parity Equ OFF ; Parity (8080)
Opcode Equ OFF ; Opcode
Debug Equ OFF ; unused ?
Cond Equ OFF ; List Cond
Gen Equ OFF ; List Gen
Text Equ OFF ; List Text
List Equ ON ; List On, Off
Trunc Equ OFF ; Trunc
; ************************************************
; # char in EXTRN & ENTRY
; ************************************************
NameL Equ 7 ; Fill in (6 or 7)
; ************************************************
; Select Cromemco Inc. version
; ************************************************
ZASM Equ ON ; Without CDOS simulator
ASMB Equ NOT ZASM ; With CDOS simulator
; ************************************************
; <<<<<<<<<<<<<----------->>>>>>>>>>>>>>>>
; ************************************************
; Don't change in the rest of this code!
; Start address for overlay
; ************************************************
IF ZASM
Org 0103H
ELSE
Org 0403H
EndIF
; ************************************************
; let a macro do the hard work
; ************************************************
Auto: Macro #B0,#B1,#B2,#B3,#B4,#B5,#B6,#B7
Byte DefV 0 ; Reset to zero
Bit DefV 1 ; first bit
Irp #Bx,#B0,#B1,#B2,#B3,#B4,#B5,#B6,#B7
IF #Bx = ON
Byte DefV Byte OR Bit ; set bit if true
EndIF
Bit DefV Bit SHL 1 ; next bit
EndM
DefB Byte
EndM
; ************************************************
; Data area starts here
; ************************************************
Lx03: DefB Length
Lx04: DefB Width
Lx05: DefB Top
Lx06: Auto OFF,OFF,Xref,Symbol,Range,Parity,OFF,OFF
Lx07: Auto OFF,NOT Gen,NOT Cond,Opcode,Debug,Cond,Gen,OFF
Lx08: Auto OFF,OFF,Text,NOT Text,List,NOT List,Trunc,OFF
Lx09: DefB NameL AND 7
; ************************************************
; End of overlay file
; ************************************************
End
---snip---