If so, would he be kind enough to share it ?
Yours Sincerely,
"French Luser"
> Is anybody out there who has ever seen a text by Digital Research
> explaining the use of "code-macros" with SID-86 ?
>
> If so, would he be kind enough to share it ?
I have never seen any documentation for SID/DEBUG macros, sorry.
However, you can find a chapter about most undocumented SID/
DEBUG features (including what I was able to find out about
macros before 1997) in the NWDOSTIP.TXT file which is part of
the MPDOSTIP.ZIP archive available for download on my web site.
The SID/DEBUG macro commands are:
-: Clear all macros
:macroname Define macro (leave with ENTER)
=[macroname] List macros or execute specified macro
I am not aware of a method to define new opcode mnemos for
use in assembly mode (I assume this is what you mean by
"code macros"), though.
The =filename startup parameter in some issues of DEBUG
(as in "DEBUG =filename") can be used to execute a startup
script, for example to "preload" macros as well. However,
this syntax is broken in some versions, unfortunately.
Some issues of SID/DEBUG have several macros predefined,
but they are of limited use for normal users.
Under DEBUG, the -: command is only available in /X mode.
Usage example:
SID
-: ; clear all existing macros
:rosdat ; define a new macro named "rosdat"
D40:0 ; enter the macro body
; leave macro mode
= ; list all defined macros
=rosdat ; execute "rosdat"
Q
Hope it helps,
Matthias
--
<mailto:Matthi...@post.rwth-aachen.de>; <mailto:mp...@drdos.org>
http://www.uni-bonn.de/~uzs180/mpdokeng.html; http://mpaul.drdos.org
"Programs are poems for computers."