[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027) Dynamic linking in QBasic? - Pete's QBASIC Site
I was thinking about a sort of cooperative multitasking in qb (in a way similar to Seal, but made in QB). To load multitasking programs, I'd need dynamic linking, and also pointers and callbacks.
Has anyone ever tried something similar? I know about Gimi, and others multitasking systems in QB using scripts, but could be done using real machine code instead of an interpreted script?
Maybe it could be done using TSR with some "tweaks"...
I.E. every application is a TSR, the "kernel" manages the GUI and calls interrupts to activate single apps, and a segment of ram is used as "interface" (if an application has to open a window, it leave a message in the common area, and the kernel read it and open the window).
In that way, I will also be able to mix programs written in QB and in other languages.
Do you think that it could work?
I've downloaded tsrv21.zip, but there is no doc. Of course I'm not going to buy external libraries. Does anybody know how to make a TSR that is not enabled by hitting a key, but by using (for example) a POKE in a qb program?