Hi Mark, Looks like your linker script could be a simple absolute code segment:
A file called prtime.lkr with the following contents: ; Define an abolute region for code CODE NAME=.aseg START=0DAC0H END=0DD00H Ken On Mon, Jun 15, 2015 at 2:52 PM, Mark Wickens <m...@wickensonline.co.uk> wrote: > Does anyone have an example linker script for VirtualT? > > I've created the following assembly language file from a tutorial and want > to generate a CO file. > > Thanks, Mark. > > > ;PRTIME2 > ;Nov 12, 1984 > ; > ORG 0DAC0H > ; > ; These are all ROM subroutines > DISPLAY EQU 05A58H ;print message pointed to by HL > LCD EQU 04B44H ;print character in register A > CHGET EQU 012CBH ;wait for keypress > MENU EQU 05797H ;main MODEL 100 menu > ; > SECS EQU 0F933H ;memory location for seconds > ; > BEGIN LXI HL,MESSAGE ;set HL pointer to start of message data > CALL DISPLAY ;display message > ; > LXI HL,SECS+1 ;SECS+1 = $F933+1 = $F934 > MOV A,M > CALL LCD > LXI HL,SECS > MOV A,M > CALL LCD > ; > CALL CHGET > JMP MENU > ; > MESSAGE DB "TIME =" ;message data > DB 00H ;terminator > ; > END > > >