1
0
mirror of https://github.com/wfjm/w11.git synced 2026-02-01 14:42:47 +00:00

docu and comment updates [skip ci]

This commit is contained in:
wfjm
2023-01-04 08:46:30 +01:00
parent 6831d1cda5
commit 146dc4d56a
13 changed files with 184 additions and 46 deletions

View File

@@ -1,4 +1,4 @@
; $Id: cpu_basics.mac 1342 2023-01-02 15:18:19Z mueller $
; $Id: cpu_basics.mac 1344 2023-01-03 15:51:21Z mueller $
; SPDX-License-Identifier: GPL-3.0-or-later
; Copyright 2015-2023 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
;
@@ -982,8 +982,7 @@ ta0404: hcmpeq sp,#stack ; check stack is default
hcmpeq sp,200$ ; check loaded SP
mov #stack-2,sp ; restore stack to where jsr pushed it
;
; w11 saves original sp, 11/70,SimH,e11 save sp after it was decremented
; This is considered a minor deviation (jsr sp never used!)
; w11 saves original sp, like 11/70, SimH,e11 save sp after it was decremented
;
mov #stack,r1
tstb systyp ; check environment

View File

@@ -1,4 +1,4 @@
; $Id: cpu_mmu.mac 1339 2022-12-27 12:11:34Z mueller $
; $Id: cpu_mmu.mac 1344 2023-01-03 15:51:21Z mueller $
; SPDX-License-Identifier: GPL-3.0-or-later
; Copyright 2022- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
;
@@ -668,8 +668,8 @@ tb0302:
; Should abort with m0.anr and m0.ale for all adresses
; w11 aborts with m0.anr, but sets m0.ale only when fail above 1st click
; Test an address above the first click to have full 11/70 style response
; Note: w11 increments PC before abort (as 11/70 does)
; SimH increments PC after abort
; Note: w11 increments PC in case of an abort
; SimH does not increment PC in case of an abort (as 11/70 does)
;
tb0401: clr mmr3 ; no d dspace, no 22bit
mov #m0.ena,mmr0 ; enable mmu ;! MMU 18