Previous Thread
Next Thread
Print Thread
Page 8 of 8 1 2 3 4 5 6 7 8
etabeta78 #89773 08/08/13 04:03 PM
Joined: Apr 2004
Posts: 1,555
J
Very Senior Member
Offline
Very Senior Member
J
Joined: Apr 2004
Posts: 1,555
Of wherever the cartridge rom starts until the end of the segment. The code is easy to find, just do a 'wpset e0000,1,r' in the debugger.

etabeta78 #89774 08/08/13 04:11 PM
Joined: Mar 2001
Posts: 16,807
Likes: 32
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,807
Likes: 32
If you pull up page 461 like he said, there's complete commented source for the BIOS routine that does it. The header comment says "This routine checks optional ROM modules (checksum for modules from C0000-D0000), CRC check for cartridges (D0000-F0000)".

etabeta78 #89776 08/08/13 06:50 PM
Joined: Apr 2004
Posts: 1,555
J
Very Senior Member
Offline
Very Senior Member
J
Joined: Apr 2004
Posts: 1,555
Got demon attack working locally:
- The first 8kb is mirrored four times at e0000, e2000, e4000, and e6000
- The last 8kb is mirrored four times at e8000, ea000, ec000, and ee000

etabeta78 #89777 08/08/13 07:00 PM
Joined: Apr 2004
Posts: 1,555
J
Very Senior Member
Offline
Very Senior Member
J
Joined: Apr 2004
Posts: 1,555
And the same trick also applies to micro surgeon. It makes sense from a hardware point of view, just hook up the address lines a bit differently to the 16kb rom and you get that behaviour.

Anyway, enjoy the fix!

etabeta78 #89778 08/08/13 07:17 PM
Joined: Mar 2001
Posts: 16,807
Likes: 32
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,807
Likes: 32
Nice!

R. Belmont #89783 08/09/13 02:34 AM
Joined: Jul 2007
Posts: 4,625
A
Very Senior Member
Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Wow, very nice. smile

Anna Wu #89785 08/09/13 04:14 AM
Joined: Jul 2007
Posts: 4,625
A
Very Senior Member
Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Is the BASIC cartridge working too?

PS: I doesn´t have the last revision compiled.

Anna Wu #89786 08/09/13 08:17 AM
Joined: Jul 2007
Posts: 4,625
A
Very Senior Member
Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Originally Posted By Anna Wu
Is the BASIC cartridge working too?

PS: I doesn´t have the last revision compiled.


Last revision compiled and it works. smile



Anna Wu #89787 08/09/13 08:26 AM
Joined: Jul 2007
Posts: 4,625
A
Very Senior Member
Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Microsurgeon



Demon Attack


Anna Wu #89793 08/09/13 03:19 PM
Joined: Jul 2007
Posts: 4,625
A
Very Senior Member
Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
DOSBox is not able to load directly the BASIC cartridge.
Some modifications are necessary, so you can load it from DOS in order to load/save programs from/to disk

PCJRBIOS.COM
BOOT BASIC_XX.JRC
BOOT BASGAMES.IMG
BASICA

PCJRBIOS.COM fixes some of DOSBox's default interrupt handlers, and loads the PCjr ROM into segment D000h (BASIC part will be in D600h).
BASIC_XX.JRC is modified to reference segment D6000h, and instead of starting the interpreter it returns after booting, making it possible to boot DOS.

Thanks goes to VileRancour. smile









PS: With MESS I doesn`t have access to the content of the mounted disk image. So I am not able to load/save BASIC programs from/to the disk image.

Page 8 of 8 1 2 3 4 5 6 7 8

Link Copied to Clipboard
Who's Online Now
2 members (Reznor007, 1 invisible), 33 guests, and 4 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,974
Posts117,891
Members5,001
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com