Mercurial > hg > Members > kono > nitros9-code
changeset 2812:1f47bdb9f356 lwtools-port
Added new utils section in 3rdparty and updated makefile(s)
Added a new utils section in 3rdparty/utils called dladd.
This section will include utilities that are made by David Ladd.
Updated 3rdparty/utils/makefile to include this new section.
Updated level2/coco3/cmds/makefile to add CMDS_D2 into the
echo string that has CMDS and CMDS_DW so now it will output
CMDS CMDS_D2 and CMDS_DW
author | David Ladd <drencor-xeen@users.sf.net> |
---|---|
date | Tue, 12 Feb 2013 12:38:22 -0600 |
parents | 611715587834 |
children | b8445469ab90 |
files | 3rdparty/utils/dladd/cls.asm 3rdparty/utils/dladd/makefile 3rdparty/utils/makefile level2/coco3/cmds/makefile |
diffstat | 4 files changed, 78 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/3rdparty/utils/dladd/cls.asm Tue Feb 12 12:38:22 2013 -0600 @@ -0,0 +1,49 @@ +******************************************************************** +* cls - Clear Screen +* +* $Id$ +* +* Edt/Rev YYYY/MM/DD Modified by +* Comment +* ------------------------------------------------------------------ +* 1 1986/12/27 David Ladd +* Started. +* + + nam cls + ttl Clear Screen + + ifp1 + use os9.d + use scf.d + endc + +tylg set Prgrm+Objct +atrv set ReEnt+Rev +rev set $00 +edition set 1 + + org 0 + rmb $0100 for the stack +size equ . + + mod eom,name,tylg,atrv,start,size + +name fcs /cls/ + fcb edition + +clearn fcb C$FORM +LCLEAR equ *-clearn + +* Entry of program +Start leax <clearn,pc + ldy #LCLEAR + lda #1 + os9 I$Write + clrb + OS9 F$Exit + + emod +eom equ * + end +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/3rdparty/utils/dladd/makefile Tue Feb 12 12:38:22 2013 -0600 @@ -0,0 +1,22 @@ +include ../../../rules.mak + +DEPENDS := ./makefile + +CMDS = cls + +DEFSDIR = $(CC68L1)/defs + +ALLOBJS = $(CMDS) + +all: banner $(ALLOBJS) $(DEPENDS) + +banner: + @$(ECHO) "**************************************************" + @$(ECHO) "* *" + @$(ECHO) "* David Ladd tools *" + @$(ECHO) "* *" + @$(ECHO) "**************************************************" + +clean: + $(RM) $(ALLOBJS) +
--- a/3rdparty/utils/makefile Mon Feb 11 20:16:24 2013 -0600 +++ b/3rdparty/utils/makefile Tue Feb 12 12:38:22 2013 -0600 @@ -1,6 +1,6 @@ include ../../rules.mak -dirs = boisy dasm smartwatch supercomm winfo +dirs = boisy dasm smartwatch supercomm dladd winfo # Make all components all:
--- a/level2/coco3/cmds/makefile Mon Feb 11 20:16:24 2013 -0600 +++ b/level2/coco3/cmds/makefile Tue Feb 12 12:38:22 2013 -0600 @@ -20,14 +20,15 @@ format free grfdrv help ident iniz irqs link list load login \ makdir mdir megaread merge mfree mmap modpatch montype mpi os9gen padrom park \ pmap proc procs prompt pwd pxd reboot rename save setime \ - shell_21 sleep smap tee tmode touch tsmon tuneport unlink verify wcreate xmode + shell_21 sleep smap tee tmode touch tsmon tuneport unlink verify wcreate xmode CMDS_D2 = basic09 runb gfx2 gfx inkey syscall copy del echo format \ merge os9gen prompt tmode -CMDS_DW = inetd dw telnet eeread eewrite +CMDS_DW = inetd dw telnet SHELLMODS = shellplus date deiniz echo iniz link load save unlink + UTILPAK1 = attr build copy del deldir dir display list makdir mdir \ merge mfree procs rename tmode @@ -53,13 +54,13 @@ $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPXD=1 shell: $(SHELLMODS) $(DEPENDS) - $(MERGE) $(SHELLMODS)>$@ + $(MERGE) $(SHELLMODS) >$@ @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" @ls -l $@ @$(ECHO) "" utilpak1: $(UTILPAK1) $(DEPENDS) - $(MERGE) $(UTILPAK1)>$@ + $(MERGE) $(UTILPAK1) >$@ @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" @ls -l $@ @$(ECHO) "" @@ -72,7 +73,7 @@ @$(ECHO) shell utilpak1 $(CMDS) showobjs_dw: - @$(ECHO) shell utilpak1 $(CMDS) $(CMDS_DW) + @$(ECHO) shell utilpak1 $(CMDS) $(CMDS_D2) $(CMDS_DW) showobjs_d2: @$(ECHO) $(CMDS_D2)