Jump to content
Sign in to follow this  
aftyde

Generating P-Code from MS V Basic

Recommended Posts

A long time ago Microsoft compilers had options to produce p-code, but I believed that to be their own thing so single binaries would work on DEC Alpha or Intel x86.

Share this post


Link to post
Share on other sites

Unfortunately not - Microsoft's "p-code" is a completely different thing from UCSD's or Softech's. At some point it was the fashionable term for what we call "bytecode" today.

  • Like 1

Share this post


Link to post
Share on other sites

The UCSD version of BASIC apparently wasn't all that popular on any system that ran the p-System. I have never seen a copy of it anywhere, even though it was listed as available for several systems back then. . .

  • Like 1

Share this post


Link to post
Share on other sites

To have any chance of running, it must produce p-code for the UCSD PME (P-Machine Emulator) version IV. The p-system operating system version numbering uses the Roman numeral to distinguish between different PME versions (different p-codes) and the Arabic digit to distinguish between variants using the same PME.

 

Then you must also make sure the compiled file contains the necessary information to load properly on a TI 99/4A.

Share this post


Link to post
Share on other sites

To have any chance of running, it must produce p-code for the UCSD PME (P-Machine Emulator) version IV. The p-system operating system version numbering uses the Roman numeral to distinguish between different PME versions (different p-codes) and the Arabic digit to distinguish between variants using the same PME.

 

Then you must also make sure the compiled file contains the necessary information to load properly on a TI 99/4A.

The UCSD binary should work on multiple UCSD systems. There is no machine specific info unless you have native libraries for a given system.

It does however have to be the same revision of UCSD.

Share this post


Link to post
Share on other sites

What I was thinking about is the language type in the 99/4A. I presume most p-systems don't have to differentiate between code that must be loaded in the CPU RAM memory expansion vs. code that can be loaded in the video memory. I don't know what happens with a code file generated on a system without this flag being handled.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...