view 3rdparty/p2mods/tdatmod.asm @ 2772:0a3f4d8ea6d5

Found ENDC in wrong location in dwread.asm and dwwrite.asm. Corrected. Moved the native 6309 code in dwread.asm and dwwrite.asm into the H6309 labeled area and changed IFEQ H6309 to IFNE H6309. Also moved the 57600bps 6809 code to the default location. This change had been done in the old dwread.asm and dwwrite.asm files to make it easier to follow. Though these two files were overwritten from the HDBDOS project dwread.asm and dwwrite.asm files. So this conversion needed to be done again so it made the source easier to follow.
author drencor-xeen
date Wed, 23 Jan 2013 12:36:55 -0600
parents b8c7b7fbf3c9
children
line wrap: on
line source

         ifp1
         use   defsfile
         endc

F$DatMod equ   $25

Type     set   Prgrm+Objct
Revs     set   ReEnt+1
edition  set   $01

         mod   OS9End,OS9Name,Type,Revs,start,256

OS9Name  fcs   "tdatmod"
         fcb   edition

* routine cold
start    equ   *
         lda   ,x
         cmpa  #$0D
         beq   bye
         ldy   #256
         ldd   #Data*256+ReEnt
         os9   F$DatMod
         bcs   error
bye      clrb
error    os9   F$Exit

         emod

OS9End   equ   *
         end