Jump to content
TechEdison

TCP/IP networking? HTTP Requests? Visual MSB??

Recommended Posts

Hello!

 

I am pondering creating my own chat app for old 68k macs. I've done many different chat apps before, for many different platforms. I've discovered Visual MacStandardBasic which appears to be the easiest way to create gui applications for 68k macs. I'm wondering if it has any networking built in aside from serial capabilities?

 

If not, what would be the easiest way to program a binary that could send simple http requests using MacTCP for networking.

 

If there is no simple way, I will just have to use a host PC to relay serial data to the web :)

Share this post


Link to post
Share on other sites

Well, it was a nice idea anyways.

 

Both VisualMSB and RealBasic produce binaries that give address errors on both my macs. One running the latest 7.5.5.

 

Just gives "address error" and forces it to restart... Not sure why, it runs fine on my iBook G3 on OS9

Share this post


Link to post
Share on other sites
3 hours ago, TechEdison said:

Well, it was a nice idea anyways.

 

Both VisualMSB and RealBasic produce binaries that give address errors on both my macs. One running the latest 7.5.5.

 

Just gives "address error" and forces it to restart... Not sure why, it runs fine on my iBook G3 on OS9

 

I have had zero issues using RealBASIC apps on Mac 68Ks. I even did a new years eve/day rollover years ago on my YouTube channel with a CC and a realBASIC app. 

 

but it IS buggy. it takes sometimes 2 or 3 compiles before it works. 

 

Also, CFM68K is a requirement for RB to run. 

 

Whichever platform you do choose to use, My personal opinion is use the MQTT protocol. Its awesome and works great for chat apps. You can compile using the new 68K GCC compiler for a C lib and bring the C lib into RB. 

Edited by techknight

Share this post


Link to post
Share on other sites
On 8/7/2018 at 6:28 PM, techknight said:

Whichever platform you do choose to use, My personal opinion is use the MQTT protocol. Its awesome and works great for chat apps. You can compile using the new 68K GCC compiler for a C lib and bring the C lib into RB. 

I wonder if you could expand on this a little more. I am not familiar with programming in RealBasic (or any 68k mac programming), Does RealBasic itself have any networking capabilities that interact with MacTCP?

Share this post


Link to post
Share on other sites

So it appears RB creates binaries that need CFM68K and will not do anything else.... That rules it out simply because the built apps won't run on my old machines (specifically my Macintosh Classic, which is my main internet machine). My PB160 needs a recap to be fully useful, and I'd rather build something compatible with 68000.

Share this post


Link to post
Share on other sites
20 hours ago, TechEdison said:

I wonder if you could expand on this a little more. I am not familiar with programming in RealBasic (or any 68k mac programming), Does RealBasic itself have any networking capabilities that interact with MacTCP?

 

Yes it does, it has TCP/UDP socket support. I wrote a small little app to transfer the clipboards between my PC and my mac when I was using the PC to browse and look up items, and the Mac to handle the spreadsheet. 

 

Also CFM68K can run on a 68000 with enough RAM and the 020 "emulator" extension but its slow as molasses. 

Share this post


Link to post
Share on other sites
4 hours ago, Dog Cow said:

The documentation for 4.0 doesn't mention CFM68k

Very odd... the binaries produced give the same error the RB binaries do.

 

To clear things up, here is my setup:

Dev environment: iBook g3 with os 9.2.2

Target machine: Macintosh Classic with 7.5.5

Share this post


Link to post
Share on other sites

Well the documentation spells this:

 

For an application created using Visual MacStandardBasic:

  • Macintosh (68K) or Power Macintosh Computer

    Runs native on Power Macintoshes

    System 7.1 or greater

    4MB RAM

which is funny because thats the same requirements for CFM68K so chances are its using the same runtime. the statement of "runs native on powerPC" means that the 68K part is using some sort of emulation or outside runtime, just like CFM68K is designed to do. 

 

But then again, it could simply be it just depends on 32-bit access. But I am not sure. 

 

Do you have the 4MB of RAM?

Edited by techknight

Share this post


Link to post
Share on other sites

I do have 4mb of ram.

 

I am quite uneducated on programming these old macs and am having second thoughts on taking this route.

 

I am however a backend web developer. Are there any better web browsers that would run on those specs aside from MacWeb? Looking for something with more HTML and preferably recognizes some css.

 

My website nocss.ml was just a glimpse of what I would be able to do regarding websites on these old machines. It was my RetroChallenge project, completed in 1 month.

Edited by TechEdison

Share this post


Link to post
Share on other sites

I guess netscape navigator will be a good choice to target. Though it never had proper CSS, I can probably learn JSSS. It has a CSS to JSSS converter but it seems like that would make it further unstable and laggy..

Share this post


Link to post
Share on other sites

Yea I haven't done computer programming in ages. Web development is my thing.

 

I'm working on learning the JSSS syntax and then I'm going to integrate a vintage compatible site with my already complete chat software, https://www.shout.tk

 

My goal is to make it fully Netscape 4.0 compatible, which is the last release for 68k macs as far as I'm aware.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×