CT60 patch MonTT v.3.10

All 680x0 related coding posts in this section please.

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

CT60 patch MonTT v.3.10

Postby hakim » Mon Sep 08, 2003 12:11 pm

Hi there,

If you have CT60 for Falcon, then you've probably noticed that basically no 030 debugger/monitor software doesn't work. Sure there is this internal debugging info about d-, a- and other registers, but this just isn't enough...

Tried everything from Devpac to Turbo Assembler, Pure Debugger etc... The result was always the same, it didn't work on CT60... Well, actually one did work, MonST 2, but the problem with this debugger was, that it only supported 68000, 010 and 020 instruction sets. The other downside was, that it didn't support TT-RAM...

Also tried looking from the forums, what should be done to make them work. Only found some messages, that somebody has managed to fix Pure Debugger to run on Milan 060 or such, but unfortunately no info on how that was made possible...

Based on the following document (http://e-www.motorola.com/files/32bit/d ... 8060UM.pdf) found out, that the 68060 processor doesn't support certain registers or instructions. In MonTT v.3.10 case it was:

Unsupported registers: psr, mmusr, isp, msp, caar

Unsupported instructions: ptest, pmove

With this patch file these unsupported registers and instructions are removed (hopefully) and you will be able to use MonTT v.3.10 even on your 060 machine. Haven't tested though, if 030 version still works...

To run this patch you should place the MON_P.PRG in the same directory with 030 version of Mon v.3.10. Run the program, and the MON.PRG will be the 060 patched version and MON.BAK will be the original 030 version...

Word of warning... Although a back-up file is being created before the file is patched, it doesn't hurt to make a back-up before running this patch, just to be sure...

Another word of warning... This is only a patch for 030 version of MonTT v.3.10 (and that version only!), which means that it doesn't support 060 registers or instructions, but in most cases it can run them if it can figure out what is the length of the instructions in words.

Do NOT expect a fully operational 060 debugger that works like 030 debugger. In fact I've found out, that in some cases the program doesn't stop (!) on breakpoints and single stepping the trap can produce some unexpected results. Single stepping also causes some illegal instructions even if there are no obvious reasons for those. This is due to incomplete support of 060 processor. For a better support of 060 processor, illegal and trace vector handlers, among others, should be reprogrammed...

Do expect though to be able to search'n'browse opcodes/hex (up till 040) and modify hex/asc and locate those unsupported registers and instructions, especially in the applications. With games and demos the chances of locating unsupported registers and instructions while running the program are from slim to none...

Anyway here is the patch file, version 0.12, that makes MonTT v.3.10 to run on CT60 Falcon accelerator, maybe on Hades and Milan 060 as well? This haven't been tested though...

Regards,
hakim
hakim
Retro freak
Retro freak
 
Posts: 16
Joined: Thu Jan 23, 2003 8:38 am

Postby [ProToS] » Mon Sep 08, 2003 2:10 pm

hi,

I'm not a coder so I can't test this patch :?
but I'm a CT060 owner and I say many thanks for your work :)
SeeU
[ProToS]/Facebook
User avatar
[ProToS]
Moderator
Moderator
 
Posts: 2096
Joined: Fri Sep 20, 2002 2:09 am
Location: Lourdes / France

Postby [MiKRO] » Tue Sep 09, 2003 8:20 am

yep, nice work pal! only thing I don't understand is why you atached Easyrider's reassemble instead of original one ;-) Btw tested under magic, worked well, too. Thanks for this patch!!
[MiKRO]
Atarian
Atarian
 
Posts: 1
Joined: Mon Sep 08, 2003 5:44 pm

Postby Zorro 2 » Tue Sep 09, 2003 8:28 am

Hi mister Hakim,

I like your job !

I prevented sceners for your patch.

I'm not a Falcon user and c'est bien dommage ! :wink:
User avatar
Zorro 2
Moderator
Moderator
 
Posts: 1886
Joined: Tue May 21, 2002 12:44 pm

Amon030.prg

Postby Coda » Fri Jul 02, 2004 8:05 pm

Hi.

Based on the MON_P patch for the 030's MON.PRG, I have created the equivalent patch for the resident version - AMON030.PRG. I needed something memory resident and I havent tested it much, but it seems to work OK. If anyone wants the binary let me know.

regards,
Coda.
Coda
Atari User
Atari User
 
Posts: 32
Joined: Fri Jun 11, 2004 2:52 pm
Location: Brno, CZ

Postby [ProToS] » Sat Jul 03, 2004 12:24 am

you can attach it to the forum if you whant :wink:
SeeU
[ProToS]/Facebook
User avatar
[ProToS]
Moderator
Moderator
 
Posts: 2096
Joined: Fri Sep 20, 2002 2:09 am
Location: Lourdes / France

Postby Coda » Sat Jul 03, 2004 8:28 am

Here is the Binary AMON030.PRG.
You do not have the required permissions to view the files attached to this post.
Coda
Atari User
Atari User
 
Posts: 32
Joined: Fri Jun 11, 2004 2:52 pm
Location: Brno, CZ

Postby [ProToS] » Mon Jul 05, 2004 12:32 am

thanks Coda :wink:
SeeU
[ProToS]/Facebook
User avatar
[ProToS]
Moderator
Moderator
 
Posts: 2096
Joined: Fri Sep 20, 2002 2:09 am
Location: Lourdes / France


Return to 680x0

Who is online

Users browsing this forum: No registered users and 0 guests