--
You received this message because you are subscribed to the Google Groups "Altair 8800" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Altair-8800...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/Altair-8800/fad755d7-9261-480f-9dec-20226cd3243cn%40googlegroups.com.
A0>ASM AMON100H
CP/M ASSEMBLER - VER 2.0
P0E4F DBFF MRCODE: in SSWTCH ;N: read sense switches
P SKPSW:
P0E5D B7 SKPSWF: ora a ;null leader?
P0E61 CDC80E LDSKIP: call GETBYT ;get another byte
P0E69 CDC80E CLSKIP: call GETBYT ;get a loader byte
P0E70 CDC80E RCHUNT: call GETBYT ;hunt for sync character
P0E82 7A LRLOOP: mov a,d ;d=RAM Execution page
P0EA2 3E4D MERDON: mvi a,MERMSG ;memory error message
P0EA4 1D ERDONE: dcr e ;PROM disabled?
P0EAF D311 ERHANG: out CONTXD ;Console output
P0EB4 EE44 CHEKGO: xri ALTGOR XOR ALTPLR ;EOF record sync byte?
P0EC2 CDC80E GETWRD: call GETBYT
P GETBYT:
P MRCEND:
P010C = SUBEND equ $
P0ED4 01E00E CDBL: lxi b,GODBL ;return address
P BOCMD:
P GODBL:
P0EDE AF WAITEN: xra a ;boot from disk 0
P0EF4 D309 SEEKT0: out DCTRL ;issue step command
P0EF7 2B T0DELY: dcx h ;(5)
P0EFD DB08 WSTEP: in DSTAT ;wait for step to complete
P0F0B DB09 CKDSK1: in DSECTR ;Read the sector position
P0F14 DB09 CKDSK2: in DSECTR ;Read the sector position
P0F1A DB09 CKDSK3: in DSECTR ;Read the sector position
P0F2B 3E10 NXTSEC: mvi a,RETRYS ;(7)Initialize sector retries
P0F2D D1 RDSECT: pop d ;(10)get DSKBUF address
P0F30 DB09 FNDSEC: in DSECTR ;(10)Read the sector position
P0F3B 3E4F OVRERR: mvi a,OERMSG ;(7)overlay error message
P0F45 DB08 DATLUP: in DSTAT ;(10)Read the drive status
P0F54 1A MOVLUP: ldax d ;(7)get sector buffer byte
P0F8D 3E80 FDEXEC: mvi a,DDISBL ;Disable floppy controller
P0F95 3E04 BADSEC: mvi a,HEDLOD ;Restart Minidisk 6.4 uS timer
P0F9F 3E43 CSMERR: mvi a,CERMSG ;checksum error message
P0FA2 3E4D MEMERR: mvi a,MERMSG ;memory error message
P0FA4 CD8B01 RPTERR: call PRINTA ;print the ASCII error code
P0FAB CD4006 HDERR: call ILPRNT
P0FBD 3E7B FNDBUF: mvi a,DSKBUF
P0FBF E3 HRMPAG: xthl ;save hl, get return address
P0FC1 210000 RAMPAG: lxi h,0
P0FC7 E3 GETHEX: xthl ;save hl, put ret address in hl
P0FCC CD3B06 CMDERR: call CILPRT ;returns Z flag cleared
P010C = DBLEND equ $
0FD3
01AH USE FACTOR
END OF ASSEMBLY
A0>DIR AMON*.*
A: AMON100H ASM : AMON100H PRN : AMON100H HEX
A0>LS AMON*.*
Name Ext Bytes Name Ext Bytes Name Ext Bytes Name Ext Bytes
AMON100HASM 132K | AMON100HHEX 12K | AMON100HPRN 200K
3 File(s), occupying 344K of 8168K total capacity
434 directory entries and 7088K bytes remain on A:
A0>LOAD AMON100H
FIRST ADDRESS 0100
LAST ADDRESS 0FD2
BYTES READ 0ED3
RECORDS WRITTEN 1E
A0>LS AMON*.*
Name Ext Bytes Name Ext Bytes Name Ext Bytes Name Ext Bytes
AMON100HASM 132K | AMON100HCOM 4K | AMON100HHEX 12K | AMON100HPRN 200K
4 File(s), occupying 348K of 8168K total capacity
433 directory entries and 7084K bytes remain on A:
A0>