287 lines
15 KiB
HTML
287 lines
15 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>Int 12/AX=FFFEh/CX=FFFEh
|
|
</TITLE>
|
|
<META NAME="Description" CONTENT="
|
|
Int 12/AX=FFFEh/CX=FFFEh - Back&Forth v1.62+ - API -
|
|
AX = FFFEh
|
|
CX = FFFEh
|
|
BX = function
|
|
00h installation check
|
|
Return: AX = 0001h installed
|
|
else not loaded
|
|
01h (reserved)
|
|
02h build program ID list (shareware Back&Forth)
|
|
ES:DI - buffer of at least 100 bytes, to be filled with words
|
|
Return: AX = number of programs defined
|
|
">
|
|
<META NAME="robots" CONTENT="none">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFD0A0">
|
|
<center>
|
|
<h2>Int 12/AX=FFFEh/CX=FFFEh
|
|
</h2>
|
|
</center><p>
|
|
<table border=1 cellpadding=3 cellspacing=1>
|
|
<td>
|
|
<a href="rb-0603.htm" tppabs="http://www.ctyme.com/intr/rb-0603.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-0605.htm" tppabs="http://www.ctyme.com/intr/rb-0605.htm">
|
|
<img src="ldown.gif" tppabs="http://graphics.ctyme.com/gif/ldown.gif" border=0 alt=Next></a>
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/rbrown.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/rbrown.htm'" tppabs="http://www.ctyme.com/rbrown.htm">
|
|
<img src="lhome.gif" tppabs="http://graphics.ctyme.com/gif/lhome.gif" border=0 alt=Ralf Brown Page></a>
|
|
<td><a href="int.htm" tppabs="http://www.ctyme.com/intr/int.htm">Interrups</a></td>
|
|
<td><a href="cat.htm" tppabs="http://www.ctyme.com/intr/cat.htm">Categories</a></td>
|
|
<td><a href="alpha.htm" tppabs="http://www.ctyme.com/intr/alpha.htm">Contents</a></td>
|
|
</td></table><p>
|
|
<p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
|
|
<h3><font color=#C00040>Back&Forth v1.62+ - API</font></h3>
|
|
<PRE>
|
|
AX = FFFEh
|
|
CX = FFFEh
|
|
BX = function
|
|
00h installation check
|
|
<p><b>Return:</b><br>AX = 0001h installed
|
|
else not loaded
|
|
01h (reserved)
|
|
02h build program ID list (shareware Back&Forth)
|
|
ES:DI -> buffer of at least 100 bytes, to be filled with words
|
|
<p><b>Return:</b><br>AX = number of programs defined
|
|
ES:DI buffer filled with AX words
|
|
02h get memory statistics (Back&Forth Professional)
|
|
<p><b>Return:</b><br>AX = available swap memory, KBytes
|
|
BX = maximum task size, KBytes
|
|
DX = fixed overhead per task, excluding video/macro
|
|
storage
|
|
03h switch to specified task (task need not be open yet)
|
|
DX = two-letter program ID
|
|
<p><b>Return:</b><br>AX = status
|
|
0000h if task undefined
|
|
0001h task switch will occur when safe
|
|
04h (reserved)
|
|
05h (reserved)
|
|
06h get version (documented only for Back&Forth Professional)
|
|
<p><b>Return:</b><br>AX = version * 100 (v1.71 = 00ABh)
|
|
07h spawn program (Back&Forth Professional only???)
|
|
ES:DI -> BF_SPAWN record <a href="rb-0604.htm#Table232" tppabs="http://www.ctyme.com/intr/rb-0604.htm#Table232">(see #00232)</a>
|
|
<p><b>Return:</b><br>AX = status
|
|
0000h if no task handles free
|
|
0001h spawn will occur when safe
|
|
08h get open tasks (documented only for Back&Forth Professional)
|
|
ES:DI -> task info buffer <a href="javascript:if(confirm('http://www.ctyme.com/intr/rb-0000.htm \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/intr/rb-0000.htm#Table0'" tppabs="http://www.ctyme.com/intr/rb-0000.htm#Table0"></a>(see #00231,#00233)
|
|
<p><b>Return:</b><br>AX = number of open tasks (max 20)
|
|
</PRE>
|
|
<p><b>Note:</b>
|
|
The supplied buffer must be large enough to hold 21
|
|
task entries
|
|
09h (reserved)
|
|
---Back&Forth Professional---
|
|
0Ah get active clipboard filename
|
|
<PRE>
|
|
<p><b>Return:</b><br>DX:AX -> ASCIZ clipboard filename
|
|
0Bh get active task number
|
|
AX = active task number (00h-13h)
|
|
BX = number of tasks allocated
|
|
DX = maximum number of tasks
|
|
0Ch (reserved)
|
|
0Dh (reserved)
|
|
0Eh (reserved)
|
|
0Fh stuff string into keyboard buffer
|
|
ES:DI -> ASCIZ string to be stuffed
|
|
<p><b>Return:</b><br>Nothing
|
|
10h check if in graphics mode
|
|
<p><b>Return:</b><br>AX = state
|
|
0000h color text mode
|
|
0004h mono text mode
|
|
FFFFh graphics mode
|
|
11h get Back&Forth Professional user number
|
|
<p><b>Return:</b><br>AX = user number (0000h-00FFh)
|
|
12h switch task by task number
|
|
DX = task number
|
|
<p><b>Return:</b><br>AX = status
|
|
0000h attempted to switch to active task
|
|
0001h task switch will occur when safe
|
|
FFFFh invalid task number
|
|
13h delete (kill) task
|
|
DX = task number
|
|
<p><b>Return:</b><br>AX = status
|
|
0000h attempted to delete the active task
|
|
0001h successfully deleted
|
|
FFFFh invalid task number
|
|
</PRE>
|
|
<p><b>Note:</b>
|
|
The active task number will change if the deleted task
|
|
was lower in the task list than the active task
|
|
14h get next available task handle
|
|
<PRE>
|
|
<p><b>Return:</b><br>AX = next available task handle
|
|
FFFFh if task table is full
|
|
</PRE>
|
|
<p><b>Program:</b>
|
|
Back & Forth is a task switcher by Progressive Solutions, Inc.
|
|
<p><b>See Also:</b>
|
|
<a href="rb-0597.htm" tppabs="http://www.ctyme.com/intr/rb-0597.htm">INT 11/AX=FFFEh</a>
|
|
<PRE>
|
|
<p><b>Index:</b><br>Installation check;BACK&FORTH
|
|
<p>
|
|
Format of Back&Forth task info buffer:
|
|
<a name=table231></a>
|
|
Offset Size Description (Table 00231)
|
|
00h 21 BYTEs ASCIZ task name
|
|
15h BYTE hotkey shift state (as for INT 16/AH=02h)
|
|
16h WORD hotkey scan code (see also #00006)
|
|
18h WORD program ID
|
|
<p><b>Index:</b><br>Hotkeys;Back&Forth
|
|
</PRE>
|
|
<p><b>See Also:</b>
|
|
#00232 - #00233
|
|
<PRE>
|
|
<p>
|
|
Format of Back&Forth Professional BF_SPAWN record:
|
|
<a name=table232></a>
|
|
Offset Size Description (Table 00232)
|
|
00h 21 BYTEs task description
|
|
<p><b>15h BYTE flag:</b><br>Disable hotkeys
|
|
16h WORD environment size in bytes
|
|
18h BYTE hotkey shift flags
|
|
19h WORD hotkey scancode
|
|
1Bh WORD maximum number of EMS pages
|
|
1Dh WORD required memory in KBytes
|
|
1Fh 3 BYTEs DESQview-style two-letter program ID
|
|
22h 13 BYTEs base name of program to be run (no path or extension)
|
|
2Fh 66 BYTEs directory from which to start program
|
|
71h 66 BYTEs initial current directory for program
|
|
</PRE>
|
|
<p><b>See Also:</b>
|
|
#00231 - #00233
|
|
<PRE>
|
|
<p>
|
|
Format of Back&Forth Professional BF_TASK record:
|
|
<a name=table233></a>
|
|
Offset Size Description (Table 00233)
|
|
00h DWORD Unix-style task start time (seconds since 1970/1/1)
|
|
04h 21 BYTEs task description
|
|
19h DWORD elapsed time in task (seconds)
|
|
1Dh WORD task ID
|
|
1Fh BYTE task hotkey keyboard flags
|
|
20h WORD task hotkey scan code (see also #00006)
|
|
22h DWORD time task was suspended/exited
|
|
26h WORD task handle
|
|
</PRE>
|
|
<p><b>See Also:</b>
|
|
#00231 - #00232
|
|
<p>
|
|
<b>Category: <a href="cat-011.htm" tppabs="http://www.ctyme.com/intr/cat-011.htm">
|
|
DOS-Based Task Switchers/Multitaskers</a>
|
|
- <a href="int-12.htm" tppabs="http://www.ctyme.com/intr/int-12.htm">
|
|
Int 12h</a>
|
|
- <a href="alpha-b.htm" tppabs="http://www.ctyme.com/intr/alpha-b.htm">
|
|
B</a>
|
|
</b><p><p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
|
|
<table border=1 cellpadding=3 cellspacing=1>
|
|
<td>
|
|
<a href="rb-0603.htm" tppabs="http://www.ctyme.com/intr/rb-0603.htm">
|
|
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
|
|
<a href="rb-0605.htm" tppabs="http://www.ctyme.com/intr/rb-0605.htm">
|
|
<img src="ldown.gif" tppabs="http://graphics.ctyme.com/gif/ldown.gif" border=0 alt=Next></a>
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/rbrown.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/rbrown.htm'" tppabs="http://www.ctyme.com/rbrown.htm">
|
|
<img src="lhome.gif" tppabs="http://graphics.ctyme.com/gif/lhome.gif" border=0 alt=Ralf Brown Page></a>
|
|
<td><a href="int.htm" tppabs="http://www.ctyme.com/intr/int.htm">Interrups</a></td>
|
|
<td><a href="cat.htm" tppabs="http://www.ctyme.com/intr/cat.htm">Categories</a></td>
|
|
<td><a href="alpha.htm" tppabs="http://www.ctyme.com/intr/alpha.htm">Contents</a></td>
|
|
</td></table><p>
|
|
|
|
<!-- Bottom Link Start -->
|
|
|
|
<center>
|
|
|
|
<p><table border=1 bgcolor="#ffff99"><tr><td>
|
|
<table border=0 height=80>
|
|
<tr align=center><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/sponsor.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/sponsor.htm'" tppabs="http://www.ctyme.com/sponsor.htm">
|
|
<img src="tip.gif" tppabs="http://graphics.ctyme.com/gif/tip.gif" ALT="Sponsors" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/sponsor.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/sponsor.htm'" tppabs="http://www.ctyme.com/sponsor.htm">Shopping</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://talk.ctyme.com/webx.cgi?13@@.ee6b2be \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://talk.ctyme.com/webx.cgi?13@@.ee6b2be'" tppabs="http://talk.ctyme.com/webx.cgi?13@@.ee6b2be">
|
|
<img src="comment.gif" tppabs="http://graphics.ctyme.com/gif/comment.gif" ALT="Forum" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://talk.ctyme.com/webx.cgi?13@@.ee6b2be \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://talk.ctyme.com/webx.cgi?13@@.ee6b2be'" tppabs="http://talk.ctyme.com/webx.cgi?13@@.ee6b2be">Forum</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/mail.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/mail.htm'" tppabs="http://www.ctyme.com/mail.htm">
|
|
<img src="mail.gif" tppabs="http://graphics.ctyme.com/gif/mail.gif" ALT="email" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/mail.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/mail.htm'" tppabs="http://www.ctyme.com/mail.htm">EMail</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/map.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/map.htm'" tppabs="http://www.ctyme.com/map.htm">
|
|
<img src="toc.gif" tppabs="http://graphics.ctyme.com/gif/toc.gif" ALT="Index" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/map.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/map.htm'" tppabs="http://www.ctyme.com/map.htm">Index</a>
|
|
|
|
</td><td width="65">
|
|
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/'" tppabs="http://www.ctyme.com/">
|
|
<img src="home.gif" tppabs="http://graphics.ctyme.com/gif/home.gif" ALT="Home" height="40" width="40"></a>
|
|
<br><a href="javascript:if(confirm('http://www.ctyme.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/'" tppabs="http://www.ctyme.com/">Home</a>
|
|
|
|
</td><td width="90">
|
|
|
|
<center>
|
|
<FORM ACTION="https://secure.paypal.com/cgi-bin/webscr" tppabs="https://secure.paypal.com/cgi-bin/webscr" METHOD="POST" traget="_blank">
|
|
<INPUT TYPE="hidden" NAME="cmd" VALUE="_xclick">
|
|
<INPUT TYPE="hidden" NAME="business" VALUE="marc@perkel.com">
|
|
<INPUT TYPE="hidden" NAME="return" VALUE="http://www.perkel.com">
|
|
<INPUT TYPE="hidden" NAME="item_name" VALUE="Donation To Support this Site">
|
|
<INPUT TYPE="hidden" NAME="no_intl" VALUE="1">
|
|
<INPUT TYPE="image" SRC="x-click-but7.gif" tppabs="http://images.paypal.com/images/x-click-but7.gif" vspace=9
|
|
NAME="submit" ALT="Make payments with PayPal - it's fast, free and secure!">
|
|
</FORM>
|
|
|
|
</td></tr></table></td></tr></table><p>
|
|
|
|
|
|
<center>
|
|
<p>
|
|
<a href="javascript:if(confirm('http://www.ctyme.com/hosting/index.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/hosting/index.htm'" tppabs="http://www.ctyme.com/hosting/index.htm" target="_blank">
|
|
<img src="ctymehost.gif" tppabs="http://graphics.ctyme.com/gif/ctymehost.gif"
|
|
border=3 height=60 width=468></a>
|
|
<p>
|
|
<!-- Ad End --->
|
|
|
|
</center>
|
|
<FORM ACTION="http://service.bfast.com/bfast/click" target="_blank">
|
|
<INPUT TYPE="hidden" NAME="siteid" VALUE="30472466" >
|
|
<INPUT TYPE="hidden" NAME="bfpage" VALUE="horizontal">
|
|
<INPUT TYPE="hidden" NAME="bfmid" VALUE="27253343" >
|
|
<INPUT TYPE="hidden" NAME="num" VALUE="30">
|
|
|
|
<table bgcolor=white border=3><tr><td>
|
|
<table bgcolor=white border=0>
|
|
<tr><td>
|
|
<IMG SRC="serve-bfmid=27253343&siteid=30472466&bfpage=horizontal.gif" tppabs="http://service.bfast.com/bfast/serve?bfmid=27253343&siteid=30472466&bfpage=horizontal" BORDER="0" WIDTH="1" HEIGHT="1" align=right NOSAVE >
|
|
<center><b>Search the web with Google</b></center>
|
|
</td></tr><tr><td>
|
|
<TABLE cellpadding=0 cellspacing=5 bgcolor="#FFFFFF">
|
|
<tr><td bgcolor="#0000cc"><IMG SRC="cleardot.gif" tppabs="http://www.google.com/images/cleardot.gif" height=1 border="0" ALT="Google"></td></tr><tr><td>
|
|
<IMG SRC="affiliate_logo.gif" tppabs="http://www.google.com/affiliates/affiliate_logo.gif" border="0" ALT="Google" align="center">
|
|
<INPUT TYPE=text name=q size=30 maxlength=255 value="">
|
|
<INPUT type=submit name=sa VALUE="Go">
|
|
</td></tr>
|
|
<tr><td bgcolor="#0000cc"><IMG SRC="cleardot.gif" tppabs="http://www.google.com/images/cleardot.gif" height=1 border="0" ALT="Google"></td></tr></TABLE>
|
|
</td></tr></table>
|
|
</tr></td></table>
|
|
</FORM>
|
|
|
|
</center>
|
|
|
|
|
|
<p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
|
|
|
|
<!-- Bottom Link End -->
|
|
|
|
</BODY>
|
|
</HTML>
|