URL
https://opencores.org/ocsvn/w11/w11/trunk
Subversion Repositories w11
Compare Revisions
- This comparison shows the changes necessary to convert path
/w11/tags/w11a_V0.6/tools/asm-11/w11/sys
- from Rev 22 to Rev 24
- ↔ Reverse comparison
Rev 22 → Rev 24
/dl11/noboot.mac
0,0 → 1,31
; $Id: noboot.mac 521 2013-05-20 22:16:45Z mueller $ |
; |
; Boot blocker, when loaded and started at 0, writes |
; This is not a hardware bootable disk |
; |
RCSR = 177560 |
RBUF = 177562 |
XCSR = 177564 |
XBUF = 177566 |
; |
CR = 015 |
LF = 012 |
; |
; starts at 0 ! |
; |
.asect |
. = 0 |
; |
start: mov #text, r0 |
1$: tstb (r0) |
beq 3$ |
2$: tstb @#XCSR |
bpl 2$ |
movb (r0)+,@#XBUF |
br 1$ |
3$: halt |
; |
. = 100 |
text: .asciz /This is not a hardware bootable disk/<CR><LF> |
; |
.end |
/dl11/Makefile
0,0 → 1,30
# $Id: Makefile 525 2013-07-06 12:19:39Z mueller $ |
# |
# Revision History: |
# Date Rev Version Comment |
# 2013-03-22 496 1.0 Initial version |
#--- |
# |
MAC_all = $(wildcard *.mac) |
LDA_all = $(MAC_all:.mac=.lda) |
COF_all = $(MAC_all:.mac=.cof) |
# |
include $(RETROBASE)/tools/make/generic_asm11.mk |
# |
.PHONY : alllda allcof alllst clean |
# |
def : alllda |
# |
alllda : $(LDA_all) |
# |
allcof : $(COF_all) |
# |
alllst : $(LST_all) |
# |
clean : |
@ rm -f $(LDA_all) |
@ echo "Object files removed" |
@ rm -f $(COF_all) |
@ echo "Compound files removed" |
@ rm -f $(LST_all) |
@ echo "Listing files removed" |
/dl11/simple_out.mac
0,0 → 1,34
; $Id: simple_out.mac 503 2013-04-06 19:44:13Z mueller $ |
; |
; simple output test for DL11 interface |
; |
RCSR = 177560 |
RBUF = 177562 |
XCSR = 177564 |
XBUF = 177566 |
; |
CR = 015 |
LF = 012 |
; |
; transfer vector |
; |
.asect |
. = 200 |
jmp start |
; |
; test code |
; |
. = 1000 |
; |
start: mov #start,sp |
mov #hw, r0 |
1$: tstb (r0) |
beq start |
2$: tstb @#XCSR |
bpl 2$ |
movb (r0)+,@#XBUF |
br 1$ |
; |
hw: .asciz /Hello world!/<CR><LF> |
; |
.end |
/dl11/simple_echo.mac
0,0 → 1,38
; $Id: simple_echo.mac 504 2013-04-13 15:37:24Z mueller $ |
; |
; simple echo test for DL11 interface |
; |
RCSR = 177560 |
RBUF = 177562 |
XCSR = 177564 |
XBUF = 177566 |
; |
CR = 015 |
LF = 012 |
; |
; transfer vector |
; |
.asect |
. = 200 |
jmp start |
; |
; test code |
; |
. = 1000 |
; |
start: mov #start,sp |
; |
1$: tstb @#RCSR ; input ready ? |
bpl 1$ ; if not poll |
movb @#RBUF,r0 ; get input char |
2$: tstb @#XCSR ; output ready ? |
bpl 2$ ; if not poll |
movb r0,@#XBUF ; echo received char |
cmpb #CR,r0 ; was it CR ? |
bne 1$ ; if not, wait for next input |
3$: tstb @#XCSR ; output ready ? |
bpl 3$ |
movb #LF,@#XBUF ; send LF |
br 1$ |
; |
.end |
/dl11/.cvsignore
0,0 → 1,5
*.lda |
*.cof |
*.lst |
*.ldart |
*.lstrt |
dl11
Property changes :
Added: svn:ignore
## -0,0 +1,37 ##
+*.dep_ghdl
+*.dep_isim
+*.dep_xst
+work-obj93.cf
+*.vcd
+*.ghw
+*.sav
+*.tmp
+*.exe
+ise
+xflow.his
+*.ngc
+*.ncd
+*.pcf
+*.bit
+*.msk
+isim
+isim.log
+isim.wdb
+fuse.log
+*_[sft]sim.vhd
+*_tsim.sdf
+*_xst.log
+*_tra.log
+*_twr.log
+*_map.log
+*_par.log
+*_pad.log
+*_bgn.log
+*_svn.log
+*_sum.log
+*_[dsft]sim.log
+*.lda
+*.cof
+*.lst
+*.ldart
+*.lstrt
Index: .
===================================================================
--- . (nonexistent)
+++ . (revision 24)
.
Property changes :
Added: svn:ignore
## -0,0 +1,32 ##
+*.dep_ghdl
+*.dep_isim
+*.dep_xst
+work-obj93.cf
+*.vcd
+*.ghw
+*.sav
+*.tmp
+*.exe
+ise
+xflow.his
+*.ngc
+*.ncd
+*.pcf
+*.bit
+*.msk
+isim
+isim.log
+isim.wdb
+fuse.log
+*_[sft]sim.vhd
+*_tsim.sdf
+*_xst.log
+*_tra.log
+*_twr.log
+*_map.log
+*_par.log
+*_pad.log
+*_bgn.log
+*_svn.log
+*_sum.log
+*_[dsft]sim.log