added I/O port 2 support for the TI-74 implementation

This commit is contained in:
Luxferre
2025-04-27 18:53:07 +03:00
parent 08c3c869c5
commit 4df14f49f5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ the resource constraints, the following limitations apply:
program in the VM),
* the program itself is entered into the DATA statements in the so-called
MU74 format (see below),
* no support for I/O port 2, tracing or intruction dumping,
* no support for tracing or intruction dumping (I/O ports 1-2 supported though),
* no boundary checks for the addresses inside the program.
Also, since the VM runs on top of a BASIC interpreter, program execution is
+1 -1
View File
@@ -39,7 +39,7 @@
480 NEXT I:GOTO 180
490 IF CMD=4 THEN 500 ELSE 530
500 FOR I=X TO Y
510 IF Z=0 THEN INPUT DMEM(I)
510 IF Z=0 THEN INPUT DMEM(I) ELSE IF Z=2 THEN DMEM(I)=ASC(KEY$)
520 NEXT I:GOTO 180
530 IF CMD=6 THEN 540 ELSE 570
540 IF X=0 THEN DMEM(Z)=Y:GOTO 180