Fixed: Enhanced Exile + TurboMMC compatibility? (patched Exile)

discussion of beeb/electron applications, languages, utils and educational s/w
cmorley
Posts: 219
Joined: Sat Jul 30, 2016 7:11 pm
Location: Oxford

Fixed: Enhanced Exile + TurboMMC compatibility? (patched Exile)

Postby cmorley » Wed Sep 27, 2017 10:17 am

Hi,

I suggest to people that they try Exile to confirm that they've installed my SRAM boards OK but I've had a couple of people say that Exile crashes after f0 to run the game when loading from TurboMMC. It runs fine on my machines with my SRAM loading from floppy...

I've had a quick look at Tom Seddon's Exile dissasembly and there are writes to &FE60 & &FE62 in the code wrapped in an IF SRAM. Does anyone know if this causes a problem with TurboMMC?

If so has this been fixed in a later ROM version or is there an alternate FS which works on the same hardware I can suggest these users try?

Thanks,

Chris

Edit: Link to post with Exile patched
Last edited by cmorley on Sat Sep 30, 2017 5:52 am, edited 3 times in total.

duikkie
Posts: 2655
Joined: Fri Feb 07, 2014 3:28 pm

Re: Enhanced Exile + TurboMMC compatibility?

Postby duikkie » Wed Sep 27, 2017 3:51 pm

is exile something diffent then elixir :?: , where to find the files on the ssd then i will look

smart-spi can handle &fe60 and &fe62 for one time only because i made it for the old SWR solidisc board

maybe you must switch the pb lines ??

turbommc that is old stuff , my hair was brown in that time, not grey :)
turbommc used line pb8,pb0,pb1 or was it pb4.


cmorley wrote:Hi,

I suggest to people that they try Exile to confirm that they've installed my SRAM boards OK but I've had a couple of people say that Exile crashes after f0 to run the game when loading from TurboMMC. It runs fine on my machines with my SRAM loading from floppy...

I've had a quick look at Tom Seddon's Exile dissasembly and there are writes to &FE60 & &FE62 in the code wrapped in an IF SRAM. Does anyone know if this causes a problem with TurboMMC?

If so has this been fixed in a later ROM version or is there an alternate FS which works on the same hardware I can suggest these users try?

Thanks,

Chris

User avatar
CMcDougall
Posts: 5539
Joined: Wed Feb 02, 2005 3:13 pm
Location: Shadow in a Valley of Scotland

Re: Enhanced Exile + TurboMMC compatibility?

Postby CMcDougall » Wed Sep 27, 2017 4:09 pm

because the LOLprice 'turbo' :lol: is utter crap.
works perfect on my 33p MMC interface :D
ImageImageImage

User avatar
danielj
Posts: 5134
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Enhanced Exile + TurboMMC compatibility?

Postby danielj » Wed Sep 27, 2017 5:11 pm

Colin, play nice. Not everyone knows about the cheapy version. [-X

duikkie
Posts: 2655
Joined: Fri Feb 07, 2014 3:28 pm

Re: Enhanced Exile + TurboMMC compatibility?

Postby duikkie » Wed Sep 27, 2017 5:36 pm

really the version on *din 218 is not working on smart-spi , but if i move it to disc , i can run it f0

so is there an other version for mmc ?
if i use sideway ram it is allso crap :)


CMcDougall wrote:because the LOLprice 'turbo' :lol: is utter crap.
works perfect on my 33p MMC interface :D

thebootus
Posts: 1
Joined: Wed Sep 27, 2017 2:29 pm

Re: Enhanced Exile + TurboMMC compatibility?

Postby thebootus » Wed Sep 27, 2017 5:38 pm

So what would be a better more current replacement for Turbo MMC - for the layman - in simple terms please?

:?

User avatar
danielj
Posts: 5134
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Enhanced Exile + TurboMMC compatibility?

Postby danielj » Wed Sep 27, 2017 5:48 pm

You can use the SmartSPI or MMFS ROMs with the same hardware boards and get better performance and sd card compatibility. If you don't own one at all, it's possible to wire one of the super cheap Chinese sd card readers to the user port resulting in a total cost of under a quid + price of an eprom. On phone at moment so ant conveniently drag all the links out for you just now, but all the info is on the forum.

d.

cmorley
Posts: 219
Joined: Sat Jul 30, 2016 7:11 pm
Location: Oxford

Re: Enhanced Exile + TurboMMC compatibility?

Postby cmorley » Wed Sep 27, 2017 5:49 pm

duikkie wrote:really the version on *din 218 is not working on smart-spi , but if i move it to disc , i can run it f0

so is there an other version for mmc ?
if i use sideway ram it is allso crap :)


dukkie, so it doesn't work on smart SPI either but the same image works for you transfered to a real floppy?

One solution would be to NOP out the two STA &FE6x in the Exile binary and save a patched version for MMC.

Does the MMFS hoglet maintains work on the TurboMMC hardware? Anyone got that setup who could do a quick Exile load and see if that works?

Thanks guys

User avatar
danielj
Posts: 5134
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Enhanced Exile + TurboMMC compatibility?

Postby danielj » Wed Sep 27, 2017 5:51 pm

I should add, if you really want to step up beyond the sd reader jobby, you can use something like a retroclinic data centre, which let's you just stick disk images directly on a USB stick, or GoSDC which I'm less familiar with.


d.

duikkie
Posts: 2655
Joined: Fri Feb 07, 2014 3:28 pm

Re: Enhanced Exile + TurboMMC compatibility?

Postby duikkie » Wed Sep 27, 2017 6:00 pm

i am not a player , but if i transfer the *din 218 version all files it plays ( f0) the game. some strange dots on the screen but maybe that are bullets ?

but there are 5 files elixe is the begin screen then you have exileL and exileB and two other files exile.. and exile ..
not looked further in the files yet , but my real drive is asking for files.

if there is not mmc /ssd version then i will look what i can do :)

cmorley wrote:
duikkie wrote:really the version on *din 218 is not working on smart-spi , but if i move it to disc , i can run it f0

so is there an other version for mmc ?
if i use sideway ram it is allso crap :)


dukkie, so it doesn't work on smart SPI either but the same image works for you transfered to a real floppy?

One solution would be to NOP out the two STA &FE6x in the Exile binary and save a patched version for MMC.

Does the MMFS hoglet maintains work on the TurboMMC hardware? Anyone got that setup who could do a quick Exile load and see if that works?

Thanks guys

cmorley
Posts: 219
Joined: Sat Jul 30, 2016 7:11 pm
Location: Oxford

Re: Enhanced Exile + TurboMMC compatibility?

Postby cmorley » Wed Sep 27, 2017 6:16 pm

duikkie wrote:if there is not mmc /ssd version then i will look what i can do :)


OK, if you do have a look then I think the problem probably lies with Exile code here:
Line 13381 in the disassembly on github

Code: Select all

IF SRAM
    ldx #$0f
.M7707
    lda #$0f
    sta $fe62
    stx $fe60
    stx $fe32
    stx $fe30
    ldy #$00
    sty intro_two
    lda #$a0
    sta intro_three
    <blah blah>
    .M7758
    dex
    bpl M7707


It tramples port B output and direction register.

duikkie
Posts: 2655
Joined: Fri Feb 07, 2014 3:28 pm

Re: Enhanced Exile + TurboMMC compatibility?

Postby duikkie » Wed Sep 27, 2017 6:18 pm

not only there because you have the option without sram and that is allso not running
somewhere the program ask for real disc drive


cmorley wrote:
duikkie wrote:if there is not mmc /ssd version then i will look what i can do :)


OK, if you do have a look then I think the problem probably lies with Exile code here:
Line 13381 in the disassembly on github

Code: Select all

IF SRAM
    ldx #$0f
.M7707
    lda #$0f
    sta $fe62
    stx $fe60
    stx $fe32
    stx $fe30
    ldy #$00
    sty intro_two
    lda #$a0
    sta intro_three
    <blah blah>
    .M7758
    dex
    bpl M7707


It tramples port B output and direction register.

User avatar
Rich Talbot-Watkins
Posts: 1089
Joined: Thu Jan 13, 2005 5:20 pm
Location: Palma, Mallorca

Re: Enhanced Exile + TurboMMC compatibility?

Postby Rich Talbot-Watkins » Wed Sep 27, 2017 6:27 pm

cmorley wrote:Line 13381 in the disassembly on github

Code: Select all

IF SRAM
    ldx #$0f
.M7707
    lda #$0f
    sta $fe62
    stx $fe60
    stx $fe32
    stx $fe30
    ldy #$00
    sty intro_two
    lda #$a0
    sta intro_three
    <blah blah>
    .M7758
    dex
    bpl M7707


It tramples port B output and direction register.

I can't actually fathom why it would do that. It doesn't seem to serve any purpose at all. Anyone more enlightened than me?

cmorley
Posts: 219
Joined: Sat Jul 30, 2016 7:11 pm
Location: Oxford

Re: Enhanced Exile + TurboMMC compatibility?

Postby cmorley » Wed Sep 27, 2017 6:33 pm

Write protect I think on some after market BITD SRAM boards but I don't know which boards... presumably solidisk & watford but which regs for which boards I don't know...

duikkie wrote:not only there because you have the option without sram and that is allso not running
somewhere the program ask for real disc drive


Ahh OK.

Looking quickly at Eelco Huininga's disassembly this code is in ExileL and I imagine as it looks like it is the SRAM detect code it would run for both enhanced and normal (no SRAM)...

User avatar
DutchAcorn
Posts: 1584
Joined: Fri Mar 21, 2014 9:56 am
Location: Maarn, Netherlands

Re: Enhanced Exile + TurboMMC compatibility?

Postby DutchAcorn » Wed Sep 27, 2017 7:32 pm

I have no issues running Exile with SWR enabled using TurboMMC, MMFS (1.28) or UltraX.
Paul

User avatar
trixster
Posts: 510
Joined: Wed May 06, 2015 11:45 am
Location: York

Re: Enhanced Exile + TurboMMC compatibility?

Postby trixster » Wed Sep 27, 2017 8:24 pm

Likewise, Exile causes no issue here with a TurboMMC and SWRAM.
Last edited by trixster on Thu Sep 28, 2017 5:06 am, edited 1 time in total.
A3020 | A3000 | BBC B + 128K RAM/ROM + 20K Shadow + Pi0 + VideoNuLA
BBC Master Turbo + DC | Atom | A1200 060 | A500 | Jaguar | A420/1
A4000/040 060 | Atari Falcon 060 | Saturn | PS1 | SNES | CPC6128 | C64 | 3DO | MD

cmorley
Posts: 219
Joined: Sat Jul 30, 2016 7:11 pm
Location: Oxford

Re: Enhanced Exile + TurboMMC compatibility?

Postby cmorley » Wed Sep 27, 2017 8:31 pm

trixster wrote:Likewise, Exile causes no issue here with a TurboMMC and SWRAM.


Humm... that's confusing then.

Can I ask what version of TurboMMC ROM you're using?

User avatar
marcusjambler
Posts: 87
Joined: Mon May 22, 2017 11:20 am
Location: Bradford
Contact:

Re: Enhanced Exile + TurboMMC compatibility?

Postby marcusjambler » Wed Sep 27, 2017 8:36 pm

Exile running with Turbommc rom loaded in EEPROM no problem.
Extended into SWRAM module game working fine

cmorley
Posts: 219
Joined: Sat Jul 30, 2016 7:11 pm
Location: Oxford

Re: Enhanced Exile + TurboMMC compatibility?

Postby cmorley » Wed Sep 27, 2017 8:43 pm

marcusjambler wrote:Exile running with Turbommc rom loaded in EEPROM no problem.
Extended into SWRAM module game working fine


Is that with my SRAM & EEPROM modules? What turbommc version number does my RTool display?

Thanks

duikkie
Posts: 2655
Joined: Fri Feb 07, 2014 3:28 pm

Re: Enhanced Exile + TurboMMC compatibility?

Postby duikkie » Wed Sep 27, 2017 8:52 pm

Then it is a work area problem or elixe use multi file open issue.

DutchAcorn wrote:I have no issues running Exile with SWR enabled using TurboMMC, MMFS (1.28) or UltraX.

User avatar
marcusjambler
Posts: 87
Joined: Mon May 22, 2017 11:20 am
Location: Bradford
Contact:

Re: Enhanced Exile + TurboMMC compatibility?

Postby marcusjambler » Wed Sep 27, 2017 9:16 pm

Yes both your modules with TurboMMC 0.A2

However I'm now struggling to replicate so maybe It didnt load into SWRAM the first time :oops:

I'm *unplugging 1770 DFS and then *CARD and *DIN 0 and then pulling the game from the menu.
Pressing F0 (in game) and allowing sideways RAM use takes me straight back to the main menu.
If I press F0 again and allow access to sideways RAM it then hangs

duikkie
Posts: 2655
Joined: Fri Feb 07, 2014 3:28 pm

Re: Enhanced Exile + TurboMMC compatibility?

Postby duikkie » Wed Sep 27, 2017 9:52 pm

I think it has a lot to do which swr you are using. Swr from solidisk use pb lines and mmfs is somewhat different in that . The other sideways use fe30 to select
Smart spi use d00 and to lower to 1900 i did steel some open file space so maybe troubles there.

But more if i look in the files :)

User avatar
marcusjambler
Posts: 87
Joined: Mon May 22, 2017 11:20 am
Location: Bradford
Contact:

Re: Enhanced Exile + TurboMMC compatibility?

Postby marcusjambler » Wed Sep 27, 2017 10:14 pm

Its running in SWRAM on my Master with TurboMMC issue E.A4 ( 2Mhz Econet user port version )

User avatar
DutchAcorn
Posts: 1584
Joined: Fri Mar 21, 2014 9:56 am
Location: Maarn, Netherlands

Re: Enhanced Exile + TurboMMC compatibility?

Postby DutchAcorn » Thu Sep 28, 2017 5:28 am

DutchAcorn wrote:I have no issues running Exile with SWR enabled using TurboMMC, MMFS (1.28) or UltraX.

This is with a Model B, TurboMMC 0.A1 and an IFEL 128K RAM/ROM board.
Paul

duikkie
Posts: 2655
Joined: Fri Feb 07, 2014 3:28 pm

Re: Enhanced Exile + TurboMMC compatibility?

Postby duikkie » Thu Sep 28, 2017 8:44 am

i found this strange because if you unscarmble exileL you will find *cat.0 *disc and the loading files exileB and exileMC ?

i did not know turbommc can handle the *disc command as *card or *dmmc

exileL is claiming the NMI so there goes my &d00 smart-spi work area :(

i will read the exil disamble file first now :shock:

duikkie
Posts: 2655
Joined: Fri Feb 07, 2014 3:28 pm

Re: Enhanced Exile + TurboMMC compatibility?

Postby duikkie » Thu Sep 28, 2017 9:14 am

mmmmmmmmmmmm

the exile disamble zip (txt) is starting from file ???

not the things before the real exile.. file

so back to exileL then

cmorley
Posts: 219
Joined: Sat Jul 30, 2016 7:11 pm
Location: Oxford

Re: Enhanced Exile + TurboMMC compatibility?

Postby cmorley » Thu Sep 28, 2017 9:27 am

There is this disassembly too:
https://acorn.huininga.nl/pub/docs/sourcecode/Superior%20Software/Exile/

I have ordered a TurboMMC kit and will try out various combinations of SRAM types & filesystem ROMs.

duikkie
Posts: 2655
Joined: Fri Feb 07, 2014 3:28 pm

Re: Enhanced Exile + TurboMMC compatibility?

Postby duikkie » Thu Sep 28, 2017 2:41 pm

i have found the problem :D

it is my own user conflic error in the smart-spi rom
because mmc system use the userport the mean problem is when you write to fe60/fe62 , mmc system don't like that
the program exile checks all swr banks with this code , and leave it
so my user conflict error kicks in.
because writing and reading over the same pblines gives trouble.

i can do the following thing to elixe , skip the hole check for swr banks, and no swr use for this game :shock:

what is the diffents ? it talks a little ?

maybe i can skip the &fe60/&fe62 poking not all swr sideways ram are based on this adress ? stx &fe30 ??


what did make it a little hard was the XOR stuff , and every time turn of the screen , allso by any error the game starts all over that happens if you press f0 (error user conflict)

duikkie
Posts: 2655
Joined: Fri Feb 07, 2014 3:28 pm

Re: Enhanced Exile + TurboMMC compatibility?

Postby duikkie » Thu Sep 28, 2017 2:46 pm

your are right it pokes in the userport
or checks if it is ram , my smart-spi too smart to let that happen. the fe62/fe60 is for swr solidisc system , later swr use only fe32/fe30 ? or am i :^o

Rich Talbot-Watkins wrote:
cmorley wrote:Line 13381 in the disassembly on github

Code: Select all

IF SRAM
    ldx #$0f
.M7707
    lda #$0f
    sta $fe62
    stx $fe60
    stx $fe32
    stx $fe30
    ldy #$00
    sty intro_two
    lda #$a0
    sta intro_three
    <blah blah>
    .M7758
    dex
    bpl M7707


It tramples port B output and direction register.

I can't actually fathom why it would do that. It doesn't seem to serve any purpose at all. Anyone more enlightened than me?

duikkie
Posts: 2655
Joined: Fri Feb 07, 2014 3:28 pm

Re: Enhanced Exile + TurboMMC compatibility?

Postby duikkie » Thu Sep 28, 2017 3:54 pm

try this at your home :)

3 byte change at 54a2 : 4c c1 39 ( jmp &39c1) in exilel
Attachments
EXILEMMCFIX.zip
(34.04 KiB) Downloaded 4 times


Return to “software: other”

Who is online

Users browsing this forum: No registered users and 3 guests