• Inline Tutorials / Doorway

    From Michael Preslar@1:275/112 to All on Saturday, October 22, 2005 15:30:58
    Hey folks..

    I recently learned that the Doorway author was willing to part with his
    source code, and after a few emails, I am now the new owner of Doorway and
    all rights to it.

    So here I am, going through the code.. I knew itd do some stuff that I had never seen before but didnt expect what I got :D

    Simply put, the majority of the real functionality is done in either assembly or inline code.

    The assembly: I believe I can find tutorials for that.

    The inline code: I haven't found any tutorials about that..

    Which leads me to ask: Does anyone know of a good tutorial about inline
    coding?
    --- SBBSecho 2.10-Win32
    * Origin: mount_z.synchro.net - Home of Lord/* (1:275/112)
  • From Roelof Beverdam@2:280/5218 to Michael Preslar on Sunday, October 23, 2005 10:15:49
    Hello Michael,

    Which leads me to ask: Does anyone know of a good tutorial about inline coding?

    It is too specific for the compiler at hand to be described in a more general way. You should consult the manual of your compiler which will describe it exactly. It is not that different from assembly program, so the text will not be very complicated.

    Success!

    Cheers,
    Roelof Beverdam

    --- Dutchie V3.10.11
    * Origin: The Beaver's Nest (2:280/5218)
  • From Michael Preslar@1:275/112 to Roelof Beverdam on Wednesday, October 26, 2005 20:21:58
    Re: Inline Tutorials / Doorway
    By: Roelof Beverdam to Michael Preslar on Sun Oct 23 2005 10:15 am

    Hello Michael,

    Which leads me to ask: Does anyone know of a good tutorial about inline coding?

    It is too specific for the compiler at hand to be described in a more genera way. You should consult the manual of your compiler which will describe it exactly. It is not that different from assembly program, so the text will no be very complicated.

    "Too specific to generalize" .. Okay, could see that. But I could also see where a list of opcodes and their corresponding assembly instructions would come in handy.

    Not that much different from assembly.. If you know what youre doing.

    Refer to the manual? It was lost many many years ago.
    --- SBBSecho 2.10-Win32
    * Origin: mount_z.synchro.net - Home of Lord/* (1:275/112)
  • From Sean Dennis@1:18/200 to Michael Preslar on Thursday, October 27, 2005 11:29:18
    Michael,

    I found a links that may or may not help in your search:

    http://www.gnu-pascal.de/gpc/Assembler.html (this one has other links on the page)

    http://www.msx.org/forumtopic|5310.html

    I do have the TP7 manuals, but not here with me (still in Atlanta).

    HTH,
    Sean

    // outpostbbs@charter.net | http://outpostbbs.net | ICQ: 19965647

    --- Telegard/2 v3.09.g2-sp4/mL
    * Origin: Outpost BBS - outpostbbs.darktech.org (1:18/200)
  • From Roelof Beverdam@2:280/5218 to Michael Preslar on Thursday, October 27, 2005 09:40:30
    Hello Michael,

    "Too specific to generalize" .. Okay, could see that. But I could also see where a list of opcodes and their corresponding assembly instructions would come in handy.

    Any textbook about the processor will do. But that's not the hard part - that's
    more or less the same for all compilers.

    What makes things complicated is to know how parameters are passed hence and forth; which registers contain which pointers, etc. Sometimes a few details are
    described in the online help.

    Refer to the manual? It was lost many many years ago.

    I still have some Borland Pascal packages, complete with manuals. I might OCR a
    few pages and send them to you if you use the same compiler.

    You also might consider switching to a freeware compiler like FreePascal, available on the internet.

    Cheers,
    Roelof Beverdam
    e-mail: r.beverdam@hccnet.nl

    --- Dutchie V3.10.11
    * Origin: The Beaver's Nest (2:280/5218)
  • From Scott Adams@1:112/91 to Michael Preslar on Thursday, November 10, 2005 19:54:23
    Quoting Michael Preslar to All <=-

    @MSGID: 52.pascal@1:275/112 07bfc9a7
    Hey folks..

    I recently learned that the Doorway author was willing to part with
    his source code, and after a few emails, I am now the new owner of
    Doorway and all rights to it.

    So here I am, going through the code.. I knew itd do some stuff that I
    had never seen before but didnt expect what I got :D

    Simply put, the majority of the real functionality is done in either assembly or inline code.

    The assembly: I believe I can find tutorials for that.

    The inline code: I haven't found any tutorials about that..

    Which leads me to ask: Does anyone know of a good tutorial about
    inline coding?

    Hrmm...inline tends to be alot of asm in itself. In essence
    its just direct machine code translations that can be translated
    into ASM as well. Its a way TP or BP can interface with the
    bottom level (ASM level) of coding. When I did a tutorial
    teaching thing on IRC I typed up ASM stuff back ...gosh?...
    a decade ago? Unsure where i put it. Would have ot look.
    But i believe I spoke of inline then. I personally never
    used it more than moving or modifying a small register
    data set. You tried a basic websearch for tutorials?

    Swag has 3 inline keyword searched files. Each have comments
    on what they are doing. Might learn from them and see
    a pattern of what is going on.

    The old ASYNC routines also may have documentation on inline
    stuff as well.

    Course with doorway we must ask ourselves is it worth it?
    I used doorway back in the day. But haven't in a decade.
    I gotta wonder who still does. With windows systems telnet
    is the way to go there plus some back doors. I gotta wonder
    how hard you'll have doing doorway with windows. Might
    be issues there never thought of. Good luck!

    I recently saw some classes in delphi that does essentially
    what doorway does the other day. In delphi doorway would
    likely be a few lines of code. My how far have we gotten....


    Scott Adams aka Longshot


    ... Bad DM!: We should have become farmers.
    --- Fringe BBS
    * Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91)
  • From Scott Adams@1:112/91 to Roelof Beverdam on Thursday, November 10, 2005 19:56:30
    Quoting Roelof Beverdam to Michael Preslar <=-

    Which leads me to ask: Does anyone know of a good tutorial about inline coding?

    It is too specific for the compiler at hand to be described in a more general way. You should consult the manual of your compiler which will describe it exactly. It is not that different from assembly program,
    so the text will not be very complicated.
    Success!

    Yeah. Plus that was a 16 bit world. Asm was easy to handle.
    In just 5 300k files of interrupts. Back then. Now its a
    32 bit world and the asm files are megs bigger. :<

    So the old inline code even if he knew it perfectly and 100%
    had documentation for it then doesn't mean it'll be easy
    now with the cpu changes since then.

    Not a task I want for sure!


    ... "Where's the rest of it? HEY!" - Ivanova
    --- Fringe BBS
    * Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91)
  • From Scott Adams@1:112/91 to Michael Preslar on Thursday, November 10, 2005 19:58:47
    Quoting Michael Preslar to Roelof Beverdam <=-

    @MSGID: 54.pascal@1:275/112 07c553dc
    Re: Inline Tutorials / Doorway
    By: Roelof Beverdam to Michael Preslar on Sun Oct 23 2005 10:15 am

    Hello Michael,

    Which leads me to ask: Does anyone know of a good tutorial about inline coding?

    It is too specific for the compiler at hand to be described in a more genera way. You should consult the manual of your compiler which will describe it exactly. It is not that different from assembly program, so the text will no be very complicated.

    "Too specific to generalize" .. Okay, could see that. But I could also
    see where a list of opcodes and their corresponding assembly
    instructions would come in handy.

    Not that much different from assembly.. If you know what youre doing.

    Refer to the manual? It was lost many many years ago.

    Hrm...lost manual..I came across a site...where was it...
    hrm...can't recall...but it had all old borland manuals
    and such in pdf format... planetsource.com?..no...not
    there...hrm...dang...it was like 2 months ago. Can't
    recall the name. Do a search for borland (inprise)
    manuals and see what comes up. I think even some old
    sites have tp5 for sale dirt cheap. I mean like 20$
    I saw on one site. :)

    There's always ebay :)

    ... I can feel my arteries hardening just being in the same room with it.
    --- Fringe BBS
    * Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91)