BASIC-SO

RMX/SO BASIC-SO

2.LiNK RMX810.LIB (START), BASCM.OBJ, and as many DFS and terminal handler system modules as will fit on on-board PROM into one module. Don't worry about unresolved external references-these will be resolved in step 6.

3.LOCATE the module LINKed in step 2 with CODE (0) and DATA (3COOH). This specifies that the program starts in PROM at address 0, and that the data location will be at 3COOH, or 15K. This is the location of iSBC 80/10 on-board RAM. Record the STOP address of DATA. This will be used as the entry DATA address for the second module. This creates the first module.

4.Link all other modules together with PUBLICS.

5. LOCATE module at CODE (location of iSBC 464 PROM) and DATA (STOP address +1). This creates the second module.

6.LINK first executable module with PUBLICS (second module). This resolves external references.

7.Re-LOCATE your first module with the same command as in step 3.

Figure F-7 is a SUBMIT file that carries out all of the above steps.

ASM80 :FO:BASCM.ASM MACROFILE(:FO) NOLIST SYMBOLS ASM80 :FO:BQMEM.ASM MACROFILE(:FO:) NOLIST NOSYMBOLS

LINK &

:F1 :RMX810.L1B(START),& :FO:BASCM.OBJ,&

:F1: DFSDIR. L1B(DIRECTORY ,RENAM E),& :F1 :MTI810.L1B,&

:F1:MT0810.L1B,& :F1 :RMX810.L1B,& :FO:CLOCK.OBJ,& :F1:UNRSLV.L1B,&

:F1 :PLM80.L1B &

TO :F1:BOBAS.LNK MAP PRINT(:F1:LNK.LST)

LOCATE :F1:BQBAS.LNK TO :FO:B010P.ONE MAP PUBLICS PRINT(:F1 :LOC.LST) & CODE(OH) STACKSIZE(O) START(OH) DATA(3COOH)

LINK :FO:RMXBAS.L1B(BQBAS,BQCONC),&

PUBLlCS(:FO:BQ10P.ONE),&

:FO:RMXBAS.LlB,&

:F1 :DFSDIR.L1B(SEEK,AnRIB, DELETE),& :F1 :DI0810.LlB(DISKIO, HAN204,VIOHD4),& :FO:CLOCK.OBJ,&

:F1 :DFSUNR. LlB,& :F1:RMX810.L1B,& :F1:UNRSLV.LlB,& :F1 :PLM80.L1B,&

:FO:BOMEM.OBJ TO :F1 :BQBAS.LNK MAP PRINT(:F1 :LNK.LST)

LOCATE :F1:BQ8AS.LNK TO (:FO:B010P.TWO MAP PUBLICS PRINT(:F1 :LOCA.LST) & CODE(8000H) STACKSIZE(O) DATA(426AH)

LINK :FO:B010P.ONE,PUBLlCS(:FO:BQ10P.TWO) TO :F1:BQBAS.LNK & MAP PRINT(:F1:LNK.LST)

LOCATE:F1:BQBAS.LNK TO :FO:B010P.ONE MAP PRINT(:F1:LOCB.LST) PUBLICS & CODE(O) STACKSIZE(O) START(O) DATA(3COOH)

Figure F-7. GBASIC.CSD SUBMIT Module for iSBC 80/10 PROM-Based BASIC-80

F-ll

Page 103
Image 103
Intel 9800758-02 manual F1 DFSDIR. L1BDIRECTORY ,RENAM E,& F1 MTI810.L1B