-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0dd5a7
commit d09e09e
Showing
14 changed files
with
98 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
( Sysinfo D. Lausberg 15.5.21 ) FORTH DEFINITIONS IMMEDIATE hex : cls 0c emit 0 drop ; : DPH F8 @ ; 1 variable Drive : .Ver dup 0F / 30 + emit ." ." 000F and . ; : bdosver 00 0C BDOS drop 00ff and ; : biosver 00 0C BDOS drop 100 / ; : .promver e71a 5 0 do dup c@ emit 1+ loop drop ; : set-defdrv drive c@ 0E BDOS drop drop ; : get-defdrv 0 D BDOS drop FF and drive ! ; : .Header cls ." Junior Computer ][ System Status " CR ; --> ( Sysinfo D. Lausberg 15.5.21 ) : drvparm dph 6 + c@ 1+ dup 6 .R dph 7 + c@ 6 .R dph 8 + @ 1+ dup 8 .R 4 */ 8 .R dph 0A + c@ 8 * 8 .R CR ; : .drives CR decimal get-defdrv ." Drive SPB SPBDIV BPD Cap kB Dir #" CR 8 0 do ." " I 41 + emit 3a emit 2 spaces I 0E BDOS if ." ------ " CR else drvparm endif drop loop CR set-defdrv ; --> ( Sysinfo D. Lausberg 15.5.21 ) : .Sys cr cr .Header hex ." BDOS V" bdosver .VER cr ." BIOS V" biosver .VER CR ." PROM V" .promver cr .drives cr 0 bdos ; --> ( Sysinfo D. Lausberg 15.5.21 ) decimal latest 12 +origin ! here 30 +Origin ! ;S | ||
( Sysinfo D. Lausberg 15.5.21 ) FORTH DEFINITIONS IMMEDIATE hex : cls 0c emit 0 drop ; : DPH F8 @ ; 1 variable Drive : .Ver dup 0F / 30 + emit ." ." 000F and . ; : bdosver 00 0C BDOS drop 00ff and ; : biosver 00 0C BDOS drop 100 / ; : .promver e7a9 5 0 do dup c@ emit 1+ loop drop ; : set-defdrv drive c@ 0E BDOS drop drop ; : get-defdrv 0 D BDOS drop FF and drive ! ; : .Header cls ." Junior Computer ][ System Status " CR ; --> ( Sysinfo D. Lausberg 15.5.21 ) : drvparm dph 6 + c@ 1+ dup 6 .R dph 7 + c@ 6 .R dph 8 + @ 1+ dup 8 .R 4 */ 8 .R dph 0A + c@ 8 * 8 .R CR ; : .drives CR decimal get-defdrv ." Drive SPB SPBDIV BPD Cap kB Dir #" CR 8 0 do ." " I 41 + emit 3a emit 2 spaces I 0E BDOS if ." ------ " CR else drvparm endif drop loop CR set-defdrv ; --> ( Sysinfo D. Lausberg 15.5.21 ) : .Sys cr cr .Header hex ." BDOS V" bdosver .VER cr ." BIOS V" biosver .VER CR ." PROM V" .promver cr .drives cr 0 bdos ; --> ( Sysinfo D. Lausberg 15.5.21 ) decimal latest 12 +origin ! here 30 +Origin ! ;S |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Oops, something went wrong.