[M100] Mxxx Software of 3.5

2015-06-15 Thread John Whitton

I have a batch of M10x, M200 programs on 3.5 disks. Too many to bother 
listing individually. My question is, what's the consensus for just scanning 
the disks/labels and post the scans. Anyone think stray scanner stepper fields 
might erase the disks? 

I doubt that I have anything particularly interesting, but maybe. Anyhow, 
thoughts?
John W.

[M100] VirtualT Link Script

2015-06-15 Thread Mark Wickens

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
;
ORG0DAC0H
;
; These are all ROM subroutines
DISPLAYEQU05A58H;print message pointed to by HL
LCDEQU04B44H;print character in register A
CHGETEQU012CBH;wait for keypress
MENUEQU05797H;main MODEL 100 menu
;
SECS EQU0F933H;memory location for seconds
;
BEGINLXIHL,MESSAGE;set HL pointer to start of message data
CALLDISPLAY;display message
;
LXIHL,SECS+1;SECS+1 = $F933+1 = $F934
MOVA,M
CALLLCD
LXIHL,SECS
MOVA,M
CALLLCD
;
CALLCHGET
JMPMENU
;
MESSAGE DBTIME =;message data
DB00H;terminator
;
END




Re: [M100] VirtualT Link Script

2015-06-15 Thread Ken Pettit
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
 ;
 ORG0DAC0H
 ;
 ; These are all ROM subroutines
 DISPLAYEQU05A58H;print message pointed to by HL
 LCDEQU04B44H;print character in register A
 CHGETEQU012CBH;wait for keypress
 MENUEQU05797H;main MODEL 100 menu
 ;
 SECS EQU0F933H;memory location for seconds
 ;
 BEGINLXIHL,MESSAGE;set HL pointer to start of message data
 CALLDISPLAY;display message
 ;
 LXIHL,SECS+1;SECS+1 = $F933+1 = $F934
 MOVA,M
 CALLLCD
 LXIHL,SECS
 MOVA,M
 CALLLCD
 ;
 CALLCHGET
 JMPMENU
 ;
 MESSAGE DBTIME =;message data
 DB00H;terminator
 ;
 END





Re: [M100] VirtualT Link Script

2015-06-15 Thread Mark Wickens

That worked great thanks!

On 15/06/15 23:17, Ken Pettit wrote:

; Define an abolute region for code
CODENAME=.asegSTART=0DAC0HEND=0DD00H