Jump to content
cephallus

Running Mac/65 under MyDOS?

Recommended Posts

Hey all,

 

Is anyone running this combo? I'm trying to set some stuff up in anticipation of installing the MyIDE next week, and I've run into a problem where I can't get Mac/65 to run under MyDOS; on load, it simply returns to the dos menu. And from the info I've been able to find, Sparta 3.2 is not compatible with the internal MyIDE...which leaves me a little stuck.

 

Has anyone successfully run Mac/65 under MyDOS, and if so, did you have to do anything to get it to run? I've tried on both real HW and Atari800...

 

Thanks!

Share this post


Link to post
Share on other sites

Is this the cartridge or the file version of Mac?

 

If it's the file version, you can RUN at Address 90A1 (for the version I have) from DOS.

Share this post


Link to post
Share on other sites
Is this the cartridge or the file version of Mac?

 

If it's the file version, you can RUN at Address 90A1 (for the version I have) from DOS.

 

Sorry, should have been more specific...it's the file version. Is there any way you could post the version you have? I tried with the version I have and no luck. :(

Share this post


Link to post
Share on other sites

It could be dependant on the DOS it's running under - and I'd guess that maybe it (the executable) isn't doing proper memory management and could be getting corrupted at some stage.

 

This is the version I'm using - I've only ever used it under DOS-XL and DOS 2.5.

 

Be sure to disable BASIC - pretty sure it won't work otherwise.

 

MAC65.zip

Share this post


Link to post
Share on other sites

I was using the 1994 disk version 4.2 from fte. The binary you posted (v2.00) works great from MyDOS, thanks! I can't seem to find a changelog anywhere that talks about the differences in mac versions, but my test listings compiled fine, and I was able to load/save from a MyDOS subdirectory.

 

Thanks again!

Share this post


Link to post
Share on other sites
Hey all,

 

Is anyone running this combo? I'm trying to set some stuff up in anticipation of installing the MyIDE next week, and I've run into a problem where I can't get Mac/65 to run under MyDOS; on load, it simply returns to the dos menu. And from the info I've been able to find, Sparta 3.2 is not compatible with the internal MyIDE...which leaves me a little stuck.

 

Has anyone successfully run Mac/65 under MyDOS, and if so, did you have to do anything to get it to run? I've tried on both real HW and Atari800...

 

Thanks!

 

How about posting your version of the file so some of us can look at it and see what is going on?

 

James

Share this post


Link to post
Share on other sites
Hey all,

 

Is anyone running this combo? I'm trying to set some stuff up in anticipation of installing the MyIDE next week, and I've run into a problem where I can't get Mac/65 to run under MyDOS; on load, it simply returns to the dos menu. And from the info I've been able to find, Sparta 3.2 is not compatible with the internal MyIDE...which leaves me a little stuck.

 

Has anyone successfully run Mac/65 under MyDOS, and if so, did you have to do anything to get it to run? I've tried on both real HW and Atari800...

 

Thanks!

 

How about posting your version of the file so some of us can look at it and see what is going on?

 

James

 

Here you go, as an atr...I think I got it from the umich archive.

 

m65v42.atr.zip

Share this post


Link to post
Share on other sites

Mac 65 has bugs which progressively increase as you go back versions.

 

For me, the biggest annoyance are the stupid Phase Errors that usually occur if you're referencing Zero-page variables.

 

There are others, I'd imagine they're probably documented somewhere.

 

Really, the best option these days is just to use cross-platform dev tools, then just test on the emulator.

Share this post


Link to post
Share on other sites
I can't seem to find a changelog anywhere that talks about the differences in mac versions, but my test listings compiled fine, and I was able to load/save from a MyDOS subdirectory.

 

Thanks again!

No such critter, but version 2.00 requires * = *+ instead of .DS directive and you can't have a label, an instruction AND a comment all on the same line... Or is it that you can only use ; as a comment starter, other punctuation for comments is not allowed - but I can't remember what the alternate comment punctuation is right now (long night).

 

Disk version 2 Mac65 needs a bit of code added to it to prevent it from writing back and trashing type 2 DOSes with OS/A+ being the only exception I am familar with. Like Sparta it also has a COMTAB table and Mac65 is checking it for possible passed parameters etc. and in the middle of all that, Mac does some writing back to DOSVEC via a COMTAB offset so your results will vary wildly from nothing at all happening to a total lock up depending on just what is stored at [DOSVEC] +61 in your particular Type 2 AtariDOS.

 

So my version of disk based version 2 Mac65 checks for Sparta first and if not then it proceeds to plant a passel of NOP instructions at the above mentioned places where Mac65 writes back to the address held at [DOSVEC] +61 bytes. This self altering version alters itself each time it is loaded so that it should retain full functionality when used with SpartaDOS, but not with OS/A+ which I don't consider to be a real big loss.

 

So a few hours ago I set about to get the FTe Shareware disk version 4.2 of Mac65 to work with MyDos and it required a very similar work around to insure that Type2 AtariDOSes are not written back to. This technique requires a tag be added to the end of the file and in that tag is a new run at address that does the checking and NOP planting first. Version 4.2 is a tad more complicated and then it's no surprise that there is more code that makes not much sense dealing with DOSVEC and COMTAB, so it's still possible that there is still a bomb contained within this code. But what little testing I've done so far hasn't blown me up even once. If you will use the "D" command while in Mac65 to display the address of B63C in version 4.2 Mac65, you should see 6 EA instructions and then 2 more at 8390. Version 2 has 7 NOPs at 90A5 but only if NOT loaded by SpartaDOS.

 

You may not know that version 4.2 has a black background which I do not like at all, so I made two versions - one black and one blue. The color bytes are at A0C and A11 offsets into the files for those with hex editors that want to change it themselves. Change it in real time at 8B3F and 8B44. All my added code snippet is at the ends of all files and contains the AtariDOS run at vector 02E0-02E1 which Sparta-OS/A+ never did use. All three versions are in the attached file, they all fire up on real hardware and in an emulator without entering Run at addresses manually, enjoy.

 

MyDosMac.zip

Share this post


Link to post
Share on other sites

I'm always blown away at the collective knowledge of this group, and of the A8 community as a whole. The fact that you not only provided a solution, but also took the time to explain everything in a way that I understand perfectly what changes were required and why, is particularly gratifying.

 

Thank you very much!

Share this post


Link to post
Share on other sites
I'm always blown away at the collective knowledge of this group, and of the A8 community as a whole. The fact that you not only provided a solution, but also took the time to explain everything in a way that I understand perfectly what changes were required and why, is particularly gratifying.

 

Thank you very much!

You are very welcome. In the past some of my code has been looked upon as dubious and the only way to avoid that is to invite everybody to have a real good look after some explainations for it first. Having version 2 set up this way for so long, you finally provided the impetus for me to get off my rear end and do version 4.20 that I had always wanted to do anyway so thanks for the inspiration. I find it gratifying that you can understand my ramblings as well. :thumbsup:

Share this post


Link to post
Share on other sites

Another option might be to try MAE, written by John Harris (of Frogger and Jawbreaker fame). It's floating about out there in the interwebs...

Share this post


Link to post
Share on other sites
Another option might be to try MAE, written by John Harris (of Frogger and Jawbreaker fame). It's floating about out there in the interwebs...

 

I'll take a look, thanks for the tip. I was planning to stick with Mac65 since it's what I'm familiar with...is MAE close in syntax/compatibility? I tried using DASM on my Mac, but honestly, after using modern computers all day for work, the last thing I want to do is sit in front of them at home too.

 

I'm not really doing any serious power-development at this point, just trying to brush up on old skills. Eventually I'm planning to write some specific music-related utilities I'd like for myself, but that's a little way off at this point. If I really find that I can't do the dev on the 8bit hardware without a major headache, of course I'll use the modern tools...

Share this post


Link to post
Share on other sites
I'll take a look, thanks for the tip. I was planning to stick with Mac65 since it's what I'm familiar with...is MAE close in syntax/compatibility?

 

Yes, the syntax is almost the same. And MAE has full-screen editor.

 

http://atariki.krap.pl/index.php/MAE

 

There is download section at the bottom of the page.

Share this post


Link to post
Share on other sites
I'll take a look, thanks for the tip. I was planning to stick with Mac65 since it's what I'm familiar with...is MAE close in syntax/compatibility?

 

Yes, the syntax is almost the same. And MAE has full-screen editor.

 

http://atariki.krap.pl/index.php/MAE

 

There is download section at the bottom of the page.

 

Thanks! I downloaded it and it seems to run very well on my system. I'll definitely check it out more as I get going on re-learning all that I've lost over the years... :D

 

And a tip of the hat to SysOp Fox-1 (who's handle I haven't seen forever!) for putting the manuals for these online. Big, big help!

Edited by cephallus

Share this post


Link to post
Share on other sites
And a tip of the hat to SysOp Fox-1 (who's handle I haven't seen forever!) for putting the manuals for these online. Big, big help!

 

You're welcome

 

 

 

 

(Yeah, I know... I'm 1 year behind :-) )

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...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...