Skip to content

Commit c0da0de

Browse files
Improve documenation. Fix typo.
FossilOrigin-Name: 174e7ad8e453c2ff27ed61d650c841d854e3475ce068a7acf79e2dd81f41d06f
1 parent 5010b7f commit c0da0de

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

src/kernel.plus3dos.z80s

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
; This file is part of Solo Forth
44
; http://programandala.net/en.program.solo_forth.html
55

6-
; Last modified: 202101051821.
6+
; Last modified: 202101070126.
77
; See change log at the end of the file.
88

99
; ==============================================================
@@ -288,11 +288,11 @@ saved_ip: equ $+1
288288
;
289289
; dos-ix-ehl_ ( -- a ) "dos-I-X-E-H-L-underscore"
290290
;
291-
; Address of an entry point to the Forth inner interpreter.
292-
; This entry point is jumped to at the end of a code word, in
293-
; order to execute first the +3DOS command hold in the IX
294-
; register, which returns a double-cell result in registers E
295-
; and HL.
291+
; Address of an entry point to the Forth inner interpreter. This
292+
; entry point is jumped to at the end of a code word, in order
293+
; to execute first the +3DOS command hold in the IX register,
294+
; which returns a double-cell result (from registers E and HL)
295+
; and an _ior_.
296296

297297
; ....
298298
; Input:
@@ -304,7 +304,8 @@ saved_ip: equ $+1
304304
; IX = Forth `next`
305305
; Output stack:
306306
; ( d ior )
307-
; Where _d_ is the content of registers EHL.
307+
; Where _d_ is the content of registers EHL (being E the high
308+
; part and HL the low part).
308309
; ....
309310

310311
; The stack must be somewhere in central 32K (conforming to
@@ -1135,5 +1136,7 @@ endif ; defined plus3dos
11351136
; 2021-01-05: Delete `transfer-bytes`, which was not configured
11361137
; by `read-mode` and `write-mode` yet, but anyway it is useless.
11371138
; Improve documentation of `transfer-block` and `set-drive`.
1139+
;
1140+
; 2021-01-07: Improve documentation of `dos-ix-ehl_`.
11381141

11391142
; vim: filetype=z80:textwidth=64

src/lib/dos.plus3dos.fs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
\ This file is part of Solo Forth
44
\ http://programandala.net/en.program.solo_forth.html
55

6-
\ Last modified: 202101051643.
6+
\ Last modified: 202101070105.
77
\ See change log at the end of the file.
88

99
\ ===========================================================
@@ -764,7 +764,7 @@ code file-size ( fid -- d )
764764
\ push bc ; save the Forth IP
765765
\ ld b,l ; fid
766766
\ ld ix, $0139 ; GET EOF
767-
\ jp dos_ehl
767+
\ jp dos.ix_ehl
768768

769769
\ doc{
770770
\
@@ -1738,5 +1738,8 @@ need reposition-file need file-position
17381738
\ the Z80 assembly translation of `do-dos-open_`. Improve
17391739
\ notation of lenghts in data stack comments. Fix typo in Z80
17401740
\ transcription of `bank-read-file`.
1741+
\
1742+
\ 2021-01-07: Fix label in the Z80 assembly transcription of
1743+
\ `file-size`.
17411744

17421745
\ vim: filetype=soloforth

0 commit comments

Comments
 (0)