[Zx81:Type-Ins] "SyncWare News" campaign...
Re: [Zx81:Type-Ins] "SyncWare News" campaign...
"TS1000 BANNER"
By Scott Meyer
Syncware News v2.4 page 23.
Change the line 250 to 250 COPY to use the ZXPrinter.
By Scott Meyer
Syncware News v2.4 page 23.
Change the line 250 to 250 COPY to use the ZXPrinter.
Last edited by XavSnap on Wed Jul 06, 2022 6:21 am, edited 1 time in total.
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Re: [Zx81:Type-Ins] "SyncWare News" campaign...
"On Loading"
By Ed Shaughnessy
Syncware News v2.2 page 4.
1) Load a self-run file.
2) Load part of bad tape.
By Ed Shaughnessy
Syncware News v2.2 page 4.
1) Load a self-run file.
2) Load part of bad tape.
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Re: [Zx81:Type-Ins] "SyncWare News" campaign...
"TS1000 VISIBLE SORT"
Syncware News v3n5 May-Jun. '86
By Mark Fisher
Syncware News v3n5 May-Jun. '86
By Mark Fisher
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Re: [Zx81:Type-Ins] "SyncWare News" campaign...
"1000 AUTO ANALYSIS "
SWN v3N4
By Edward Pardo
SWN v3N4
By Edward Pardo
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Re: [Zx81:Type-Ins] "SyncWare News" campaign...
"BASIL'S COMPENDIUM"
SyncWare News v2 n5 - page 16.
Hexadecimal & 256-imal
By Basil Wentworth
To find the first address by line number (line header):
Added by XavSnap: (same code...)
Other way is to get the NXT_LINE BASIC value:
P files:
SyncWare News v2 n5 - page 16.
Hexadecimal & 256-imal
By Basil Wentworth
To find the first address by line number (line header):
Code: Select all
1 REM [DEC:\
42,10,64,235,33,125,64,35,62,117,\
60,190,32,249,35,190,200,122,190,\
32,242,35,123,190,32,237,43,229,\
193,201 ]
2 REM
5 LIST 2
10 PRINT "LINE 2: ";USR 16514
15 LIST 10
20 PRINT "LINE 10: ";USR 16514
Code: Select all
1 REM [HEX: 2A,0A,40,CD,D8,09,44,4D,C9 ]
2 REM
3 LIST 2
5 PRINT
10 PRINT "LINE 2: ";USR 16514
15 LIST 10
20 PRINT
25 PRINT "LINE 10: ";USR 16514
Code: Select all
1 REM [HEX: ED,4B,29,40,C9 ]
2 REM
10 LET L15=USR 16514
15 REM xxxxxxxxxxxxxxx
18 LET L20=USR 16514
20 REM xxxxxxxxxxxxxxx
30 PRINT "LINE 15 @C1",L15
40 PRINT "LINE 20 @C1",L20
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Re: [Zx81:Type-Ins] "BASIL'S COMPENDIUM"
very interesting
Basil's looking for a NEWLINE 76H/118d to find the END_OF_LINE, looping through line by line until he finds the target Line Number
But what if the program has a line 118? Oops
Better to loop through the BASIC lines the way the ROM does it, by using the Line Length to get to the next line
Or even easier, call the LINE-ADDR routine from the ROM -- as Xav does in his "same code..." example (Hexa2.p). Not quite as educational as Basil's code, but certainly shorter code
Basil's looking for a NEWLINE 76H/118d to find the END_OF_LINE, looping through line by line until he finds the target Line Number
But what if the program has a line 118? Oops
Better to loop through the BASIC lines the way the ROM does it, by using the Line Length to get to the next line
Or even easier, call the LINE-ADDR routine from the ROM -- as Xav does in his "same code..." example (Hexa2.p). Not quite as educational as Basil's code, but certainly shorter code
Code: Select all
LD HL,(400AH) ;E_PPC Number of current line (with program cursor)
CALL $09D8 ;LINE-ADDR routine in ZX81 ROM
; IN: HL=LINE#
;OUT: BC=ADDRESS (if found)
LD B,H
LD C,L
RET ;BC is always returned to USR function
- Attachments
-
- SyncWareNewsv2.5 Hexadecimal & 256-imal.txt
- complete text of the article
- (9.89 KiB) Downloaded 85 times
-
- Hexa3_disassembly.txt
- Xav's NXTLIN demo
- (266 Bytes) Downloaded 77 times
-
- Hexa2 disassembly.txt
- Xav's alternative code using LINE-ADDR
- (539 Bytes) Downloaded 80 times
-
- Hexa1 disassembly.txt
- Basil's code looking for the address of the 'current' Line Number
- (2.04 KiB) Downloaded 73 times
Re: [Zx81:Type-Ins] "SyncWare News" campaign... BASIL'S COMPENDIUM
continued ... "BASIL'S COMPENDIUM" -- SyncWare News v2 n5 - page 16
FIG 5-1 THE LOADER PROGRAM
This program is very short, quick to type in, and then ... it makes it quite easy to enter machine code and verify as you go alongTips:
* To stop the program early, ENTER a letter. It will break out of the program
* Enter CONT to continue from where you stopped
FIG 5-2 THE 1 REM STATEMENT
Contains the byte codes of the machine language routine
Used with the LOADER program. The loader will prompt you with the first number (the memory address)
When prompted, enter the second number (the byte code). It will then respond with the verification for example, 42 will print 'E'
FIG 5-1 THE LOADER PROGRAM
This program is very short, quick to type in, and then ... it makes it quite easy to enter machine code and verify as you go along
Code: Select all
5000 LET F=16513
5010 LET F=F+1
5020 PRINT F;" " ;
5030 IF PEEK F<>27 THEN GOTO 5060
5040 INPUT A
5050 POKE F,A
5060 PRINT PEEK F, CHR$ PEEK F
5070 IF PEEK (F+1) =118 THEN STOP
5080 GOTO 5010
* To stop the program early, ENTER a letter. It will break out of the program
* Enter CONT to continue from where you stopped
FIG 5-2 THE 1 REM STATEMENT
Contains the byte codes of the machine language routine
Used with the LOADER program. The loader will prompt you with the first number (the memory address)
When prompted, enter the second number (the byte code). It will then respond with the verification for example, 42 will print 'E'
Code: Select all
FIG 5-2. THE 1 REM STATEMENT
16514 42 E LD HL,
16515 10 GR S (16394)
16516 64 RND
16517 235 FOR EX DE,HL
16518 33 5 LD HL,
16519 125 ? 16509
16520 64 RND
16521 35 7 INC HL
16522 62 Y LD A,
16523 117 ? 117
16524 60 W INC A
16525 190 D CP(HL) [inverse Y]
16526 32 4 JR NZ,
16527 249 RAND -7
16528 35 7 INC HL
16529 190 D CP(HL) [inverse Y]
16530 200 COS RET Z
16531 122 ? LD A,D
16532 190 D CP(HL)
16533 32 4 JR NZ,
16534 242 PAUSE -14
16535 35 7 INC HL
16536 123 ? LD A,E
16537 190 D CP(HL)
16538 32 4 JR NZ,
16539 237 GOSUB -19
16540 43 F DEC HL
16541 229 FAST PUSH HL
16542 193 AT POP BC
16543 201 TAN RET
- Attachments
-
- LOADER.p
- used to enter M/L into your BASIC program
- (1.07 KiB) Downloaded 79 times
-
- Hexadecimals SCANS.zip
- SyncWare News v2.5 "Basil's Compendium"
- (655.71 KiB) Downloaded 79 times
Re: [Zx81:Type-Ins] BASIL's Compendium - "SyncWare News" campaign
Yes, it is a head-scratcher. The first time I type it in, then RUN it ran amok. I finally got it to work
- Attachments
-
- FIG_4-3_1_REM_(MERGE_LINES).p
- (407 Bytes) Downloaded 73 times