The Castle and The Castle Excellent with disk save option

por Pac em 31-01-2016, 18:20
Tópico: Software
Tags: Games
Idiomas:

Source: MSXBlog

Thanks to the great work of Armando Pérez you will be able to finally beat these two games developed by ASCII. The new ROMs are ASCII8 mapper and 40K size so keep in mind this data to use/load the games with the appropriate ROM loader and/or option.

Relevant link: Z80ST-Software

Comentários (37)

Por ray2day

Paladin (671)

imagem de ray2day

31-01-2016, 19:45

Super. Cool! Cool

Por Ramones

Champion (264)

imagem de Ramones

01-02-2016, 09:38

Thanks PAC for publish the news Wink

I'm working on more titles with save states. Will be published periodically on the Z80-St blog.

You can enjoy already 3 games:

- Joe Blade
- Sutirus (and Monty)

Por mesiasmsx

Prophet (3340)

imagem de mesiasmsx

01-02-2016, 23:17

Thanks!!

Lets rock baby!

Por ren

Paragon (1887)

imagem de ren

02-02-2016, 13:05

Very nice Ramones!

If I'm not mistaken it's also possible to access/write to the MFR (MegaFlashROM) SD, perhaps also an interesting option as save state medium?

Por Ramones

Champion (264)

imagem de Ramones

02-02-2016, 15:08

ren wrote:

Very nice Ramones!

Thanks! Big smile

ren wrote:

If I'm not mistaken it's also possible to access/write to the MFR (MegaFlashROM) SD, perhaps also an interesting option as save state medium?

Sorry ren, I cannot understand your question. You mean save state on the flash rom directly? Or on SD partition?

You will able to save state on a SD partition as you can read on the README.TXT Just load the game and run with OPFXSD game.rom /X. Remember that the drive/directory used to save .DAT save state is the directory/drive on you launch the game.

By the way. I noticed problems with the last Nextor version and Monty (no problems with CASTLEs, SUTIRUS or Joe Blade). Of course, is my fault. I will try fix later...

Por ren

Paragon (1887)

imagem de ren

02-02-2016, 18:00

Hi Ramones, yes I meant the SD partition. I did have a (quick) look at the readme, but that look was too quick then I guess.. Wink I mistakenly assumed floppy-only support, sorry for that.

So, well, it's supported already, cool Smile (even if I don't own one (yet) Tongue Wink)

I'm interested though: does the save routine first look for a DOS2 storage device, before trying to save to disk, something like that?

Por Ramones

Champion (264)

imagem de Ramones

02-02-2016, 18:41

ren wrote:

Hi Ramones, yes I meant the SD partition. I did have a (quick) look at the readme, but that look was too quick then I guess.. Wink I mistakenly assumed floppy-only support, sorry for that.

Ok! Understood. Wink

ren wrote:

So, well, it's supported already, cool Smile (even if I don't own one (yet) Tongue Wink)

Yes, its supported. Compatible with DOS2 storage devices. Wink

ren wrote:

I'm interested though: does the save routine first look for a DOS2 storage device, before trying to save to disk, something like that?

Nop. It's more easy. I use DOS1 functions:

_FOPEN   EQU  #0F
_FCLOSE  EQU  #010
_FMAKE   EQU  #016
_SETDTA  EQU  #01A
_WRBLK   EQU  #026
_RDBLK   EQU  #027

Those DOS1 functions are 100% compatible with DOS2, even FAT16 partitions. I write data on a file not sectors. Then there is no problem with DOS2. (Only with Monty but is, surely a memory problem. Old versions of Nextor and DOS2 versions works perfectly with Monty save states. Crying ).

Por ren

Paragon (1887)

imagem de ren

02-02-2016, 22:54

Thanks Ramones Smile

Actually I meant how the routine decides where to save to, floppy disk or DOS2 storage device. When loading/running the ROM via the MFR, will it still be able to save to floppy disk, or will it always save to the device / it's SD then? Does the save routine just tries to detect /save to available storage devices first, and e.g. take the floppy drive as last resort, or does it somehow know it's launched from/via the MFR? (What if an user has multiple of DOS2 storage devices connected?)

(I do not know much btw regarding MSX-DOS & MSX programming.. Wink)

Por Ramones

Champion (264)

imagem de Ramones

03-02-2016, 09:45

ren wrote:

e save routine just tries to detect /save to available storage devices first, and e.g. take the floppy drive as last resort, or does it somehow know it's launched from/via the MFR? (What if an user has multiple of DOS2 storage devices connected?)

Ok, now I understand. Wink

As I said is more easy, the code don't need know about your drives. Simply uses the "selected" or "default" drive. Examples:

- If you boot the game with only a disk drive, the game uses that disk drive.
- If you have 2 disk drives and you boot the game from B:, the games uses B:
- If you have DOS2/Nextor and 3,4, or 8 units and you boot from C:\BLAH\GAMES\, then the game uses C:\BLAH\GAMES to store/load the save state.

According MSX-DOS or MSX-DOS2 or Nextor, you can select the "default" drive in your save/load operations.

From DOS2 documentation:

      
00h  Drive number 1...8. 0 => default drive. Must be set up in all FCBs 
           used, never modified by MSX-DOS function calls (except "Open File" 
           if APPEND was used).

Anyway remember: if you want to use save states on MFR partition and you boot with the game loaded in the MFR you should avoid the boot, pressing your selected key on MFR (default ESC), select your favourite drive/folder and finally execute with OPFXSD /X.

Por Meits

Scribe (6461)

imagem de Meits

03-02-2016, 11:18

Why not hardcode it to A:\savegame\ (in case of DOS2/Nextor) and just A: in case of DOS1?

Something tells me you've thought this through and this is not possible because the ROM startes before it knows which DOS is present? Dunno, I'm not a DOS coder Wink

Por Ramones

Champion (264)

imagem de Ramones

03-02-2016, 11:59

Hi Meits!

Meits wrote:

Why not hardcode it to A:\savegame\ (in case of DOS2/Nextor) and just A: in case of DOS1?

Something tells me you've thought this through and this is not possible because the ROM startes before it knows which DOS is present? Dunno, I'm not a DOS coder Wink

I will try to explain but with my poor english I don't know if I will be able. Smile

When you boot a cartridge (cold boot) DOS2 prevents you to use DOS2 to avoid disasters like games writing sectors then automatically DOS2 boots on DOS1 mode. In this mode usually without tricks you can't use large FAT12 or FAT16 partitions even if your device supports.

On my LPESDMMC firmware I allow a key to jumps this constraint and you can to use DOS2 partition with cold boot and games using disk. But I don't know if Nextor or other storage devices can do this trick.

For these reasons you need avoid the execution of the ROM in cold boot (ESC default key on MFRSD) or use F3 key coded in my ROMS (but this does not work with MFRSD, you need hold ESC or your defined key). Then you can to do a warm boot with OPFXSD /X or similar (depending your flash rom).

This sounds like an annoyance but I think it's really useful. You can select your save state folder. SofaRun uses same method and, I think, its awesome to keep your save data folder.

Por cesar guerra

Supporter (8)

imagem de cesar guerra

23-02-2016, 21:33

With a Sony F1XDmk2, a Tecnobytes IDE + 512 and a MegaFlashRom-SCC, i needed to add the /A parameter in OPF to make this ROMs work.

Por Ramones

Champion (264)

imagem de Ramones

25-02-2016, 09:37

@cesar, yes, it's stated at the manual. Wink

Face

Por cesar guerra

Supporter (8)

imagem de cesar guerra

29-02-2016, 03:12

@Ramones, Is it too hard to do a Megaram/Execrom ROM version? It would be very appreciated in the Brazilian comunity

Por Grauw

Ascended (10159)

imagem de Grauw

29-02-2016, 09:38

I think if you hook H.STKE in the initialisation code of the ROM rather than booting straight into the game, when you get the callback from the hook you can use the DOS2 functions. I’ve seen it described in various technical manuals.

Por Ramones

Champion (264)

imagem de Ramones

01-03-2016, 09:46

cesar guerra wrote:

@Ramones, Is it too hard to do a Megaram/Execrom ROM version? It would be very appreciated in the Brazilian comunity

Hmm... I don't know the Megaram specifications. I think it's 16k mapper, right?

Por Ramones

Champion (264)

imagem de Ramones

01-03-2016, 09:49

Grauw wrote:

I think if you hook H.STKE in the initialisation code of the ROM rather than booting straight into the game, when you get the callback from the hook you can use the DOS2 functions. I’ve seen it described in various technical manuals.

Sorry Grauw. I don't understand you want tell me.

Por cesar guerra

Supporter (8)

imagem de cesar guerra

04-03-2016, 19:22

@Ramones, you can get information about Megaram here: https://www.msx.org/forum/msx-talk/hardware/megaram-msx-expa....
About Execrom here: http://www.optotech.net.br/msx/disco_00/execrom.eng

Thanks.

Por giuseve

Paladin (744)

imagem de giuseve

05-03-2016, 14:11

Uhm,

when loading screen appear it hangs up. No keys works and game don't start.
Using BLUEMSX with PHILIPS VG8020-20.

Por mars2000you

Enlighted (6014)

imagem de mars2000you

05-03-2016, 14:21

Guiseve, you don't have read the txt file ! Otherwise, you should know that this small rom has the ASCII 8 mapper (although the original rom does not have a mapper). So, it means to play it in blueMSX that you need to insert manually the rom in a cartridge slot and select the good rom mapper.

Well, another example that end-users never read the instructions ! Wink

Por mars2000you

Enlighted (6014)

imagem de mars2000you

09-04-2016, 14:40

The files are no more available, as the Z80ST blog is now reserved for authorized people ... It's a shame ! Evil

Por NYYRIKKI

Enlighted (5889)

imagem de NYYRIKKI

09-04-2016, 16:55

Grauw wrote:

I think if you hook H.STKE in the initialisation code of the ROM rather than booting straight into the game, when you get the callback from the hook you can use the DOS2 functions. I’ve seen it described in various technical manuals.

Correct me if I'm wrong, but IIRC populating H.STKE on boot will automatically put you to DOS1 mode. I would say current method of avoiding the boot is clearly the best solution (for too many reasons to mention here)

Por Grauw

Ascended (10159)

imagem de Grauw

09-04-2016, 17:03

What is the “current method of avoiding the boot”? And got a link explaining the reasons?

Hmm, I googled a bit and found these nice posts by zeilemaker54. Quote “[2.31 specific] after the H.STKE check, the DEFUSR0 entry is checked. If this default, kernel 1.00 is started. Otherwise, the normal action is performed (so kernel 2.31 stays active and control is passed to ROM). This means that the (game) ROM must explicit change the DEFUSR0 entry for the kernel 2.31 to stay active!”

Por anonymous

incognito ergo sum (116)

imagem de anonymous

10-04-2016, 22:30

Again: WRONG.

The site has a downloads section and it's enabled. You can find there those files (and source code, utils, etc).

Only the blog section was disconnected, the site was working all time.

Por mars2000you

Enlighted (6014)

imagem de mars2000you

10-04-2016, 22:56

Actually, you have just added them. It was not available in this section a few days ago.

At the same time, the link in the above news is no more the good one ...

Por anonymous

incognito ergo sum (116)

imagem de anonymous

10-04-2016, 22:55

Por anonymous

incognito ergo sum (116)

imagem de anonymous

10-04-2016, 22:59

The link is pointing to the blog post. It will be online again as soon as I finish the admin tool. I said it on twitter and fb on March 14th.

Por mars2000you

Enlighted (6014)

imagem de mars2000you

10-04-2016, 23:02

I don't (want to) have Facebook and you've blocked me on Twitter, so it's irrelevant to precise that.

Por anonymous

incognito ergo sum (116)

imagem de anonymous

10-04-2016, 23:02

Next time, better ask before write wrong news

Por mars2000you

Enlighted (6014)

imagem de mars2000you

10-04-2016, 23:13

Next time, directly give the info on the MRC forum. Not everyone is using Twitter and/or Facebook.

Por spacemoai1973

Master (165)

imagem de spacemoai1973

11-04-2016, 13:57

Not everyone has the possibility (or want) to use MRC also.

Por anonymous

incognito ergo sum (116)

imagem de anonymous

11-04-2016, 17:35

spacemoai1973 wrote:

Not everyone has the possibility (or want) to use MRC also.

Well, that's tough shit then. Smile I'm sure most (99,9999% of) people have the possibility, and nothing is stopping them. Not wanting to, is one's own problem/decision. I don't want to use Twitter, and that could be my loss, but luckily there are other news sources, like this site and MSXBlog and Facebook.

Por spacemoai1973

Master (165)

imagem de spacemoai1973

12-04-2016, 00:26

Say that to mars2000you that doesn't want to use facebook.! I replaced facebook with mrc in his sentence.
Second time that you are aggressive against me. JohnHassink
relax. try once some sex

Por anonymous

incognito ergo sum (116)

imagem de anonymous

12-04-2016, 07:57

spacemoai1973 wrote:

Second time that you are aggressive against me. JohnHassink
relax. try once some sex

That's because you were being annoying twice, and if you think this is "aggressive", then you ain't seen nothing yet. I could be wrong, but I think I was actually being quite polite.
Anyway, on both accounts, I didn't steep to personal attacks, as you (and everyone) can clearly see, but somehow, you found it necessary to indulge in that.
I probably get more sex than you can dream of, bozo. Now, I suggest that you relax and try to enjoy this site without trying to start drama from now on.

My point still stands: if someone doesn't want to use MRC, it's their own decision. Nothing we can do about that. Like I don't want to use Twitter, or like mars doesn't want to be on Facebook. Again, that's just tough shit, and our personal decision. Nothing to do about it.
If you unduly feel the need to see this as an 'attack', feel free, but I'm just speaking my mind.

Por Ramones

Champion (264)

imagem de Ramones

12-04-2016, 09:53

I love how MRC threads have the ability of mutate from MSX related content to stupid discussion content... And usually Mars is in the middle.

Por sunn

Expert (69)

imagem de sunn

24-06-2021, 08:26

The download link does not seem to work any more. Does anyone have the patches for these two games?

Por sdsnatcher73

Prophet (2340)

imagem de sdsnatcher73

24-06-2021, 10:50

You can use waybackmachine.