DosWorld
15.11.2024, 23:27 (edited by DosWorld, 18.11.2024, 09:42) |
ClipDRV and LBForth (Announce) |
https://github.com/DosWorld/clipdrv/
Clipboard driver and command-line tool.
1. Driver for clean DOS (and DosBox). Provide win-clipboard API (INT 2Fh, AX=1700h...170Ah) and allow copy to clipboard a text-mode screen with <PrintScreen> key. In graph mode - pass call to prev INT 5 handler. From now, no more reasons to skip support clipboard in new software.
2. Command-line tool allow do copy/paste between clipboard and stdin/stdout. Handle direct input and redirection. For direct input support ^Z or ^D as EOF marker.
Clipboard size is 64k-limited (placed into XMS).
MIT License
https://github.com/DosWorld/lbforth
Public-domain forth in C by Leif Bruder, ~1k loc (easy reading, imho). I am does not see this forth in other places, imho, need pay attention. --- Make DOS great again!
Carthago delenda est, Ceterum censeo Carthaginem delendam esse. |
Japheth
Germany (South), 18.11.2024, 08:05
@ DosWorld
|
ClipDRV and LBForth |
> Clipboard driver and command-line tool.
>
> 1. Driver for clean DOS (and DosBox). Provide win-clipboard API (INT 2Fh,
> AX=1700h...170Ah) and allow copy to clipboard a text-mode screen with
> <PrintScreen> key. In graph mode - pass call to prev INT 5 handler. From
> now, no more reasons to skip support clipboard in new software.
>
> 2. Command-line tool allow do copy/paste between clipboard and
> stdin/stdout. Correct handle direct input and redirection. For direct input
> support ^Z or ^D as EOF marker.
>
> Clipboard size is 64k-limited (placed into XMS).
Cool! However, since you don't provide binaries, perhaps you should put in a few words about the tools that are used for that? --- MS-DOS forever! |
Rugxulo
Usono, 18.11.2024, 08:19
@ Japheth
|
ClipDRV and LBForth |
> Cool! However, since you don't provide binaries, perhaps you should put in
> a few words about the tools that are used for that?
There's a giant BIN/ subdir, but I guess you mean under Releases. |
Japheth
Germany (South), 18.11.2024, 08:40
@ Rugxulo
|
ClipDRV and LBForth |
> There's a giant BIN/ subdir, but I guess you mean under Releases.
Yes, just looked in "Releases". The binaries are in BIN and the tools used are, I suppose - in TOOLS. Probably it would be somewhat easier to handle if these things are supplied in a zipped binary in RELEASE-20241115, Assets. --- MS-DOS forever! |
DosWorld
18.11.2024, 09:37 (edited by DosWorld, 18.11.2024, 10:10)
@ Japheth
|
ClipDRV and LBForth |
> Yes, just looked in "Releases".
Sorry, I am just make release as tag for git and don’t think/care about created .zip
I'll try to fix it tonight,
In git master branch:
BIN - contains clipdrv.exe and clipcli.com
TOOLS - contains Sphinx C— compiler (minimal version) required for compiling only. --- Make DOS great again!
Carthago delenda est, Ceterum censeo Carthaginem delendam esse. |
Japheth
Germany (South), 18.11.2024, 15:55
@ DosWorld
|
ClipDRV and LBForth |
> Sorry, I am just make release as tag for git and don’t think/care about
> created .zip
> I'll try to fix it tonight,
No hurry - it's a rather minor issue.
> TOOLS - contains Sphinx C— compiler (minimal version) required for compiling only.
Somewhat more serious: if I try to launch C--.exe, the machine just reboots ( using MS-DOS 7.1 ). --- MS-DOS forever! |
DosWorld
18.11.2024, 19:15 (edited by DosWorld, 18.11.2024, 19:43)
@ Japheth
|
ClipDRV and LBForth |
> Somewhat more serious: if I try to launch C--.exe, the machine just reboots
> ( using MS-DOS 7.1 ).
I’ll check my env. Sphinx never was stable compiler - die with exception (instead error message) - it’s ok, for c—.
HP t5740 thin client, 8gb ram, himemsx (latest), Freedos 1.3
PS: I am a little bit optimize code - each wasted 100 bytes of tsr-code can be painful for user. --- Make DOS great again!
Carthago delenda est, Ceterum censeo Carthaginem delendam esse. |
DosWorld
19.11.2024, 15:45 (edited by DosWorld, 19.11.2024, 16:22)
@ Japheth
|
ClipDRV and LBForth |
> if I try to launch C--.exe, the machine just reboots
c-- can goes mad if some startup files is missed. i am check it (remove c-- from path and C-- env var), files is enough. :(
I have no other ideas. May be problem into zrdx? (extender used in c--)
You can download binaries from this page. --- Make DOS great again!
Carthago delenda est, Ceterum censeo Carthaginem delendam esse. |
Japheth
Germany (South), 19.11.2024, 15:52
@ DosWorld
|
ClipDRV and LBForth |
> > if I try to launch C--.exe, the machine just reboots
>
> c-- can goes mad if some startup files is missed. i am check it (remove c--
> from path and C-- env var), files is enough. :(
> I have no other ideas. May be problem into zrdx? (extender used in c--)
In DosEmu2 C--.exe did run fine. That made me try:
C:\>hdpmi32 -r -x
C:\>jemmex novcpi
C:\>c--
and the compiler runs without rebooting under MS-DOS 7.1.
So the problem is: the DOS extender used in C--.exe is 1) unstable and 2) doesn't use an external DPMI host if VCPI is available. --- MS-DOS forever! |
DosWorld
19.11.2024, 16:27 (edited by DosWorld, 19.11.2024, 18:13)
@ Japheth
|
ClipDRV and LBForth |
i am update clipdrv. (and link in my prev post)
PS: Not think so, if you need - https://github.com/DosWorld/zrdx/ (source code collected from webarchive). You work more close with dpmi-hosts. --- Make DOS great again!
Carthago delenda est, Ceterum censeo Carthaginem delendam esse. |