Author Topic: Got bored again...  (Read 6111 times)

0 Members and 1 Guest are viewing this topic.

Offline mahlemiut

  • CPC6128
  • ****
  • Posts: 285
  • Country: nz
  • Liked: 138
  • Likes Given: 53
Got bored again...
« on: 04:36, 09 May 15 »
...so I made this. :)  Had to take a break from working on Cirrus Logic GUI accelerators. ;)

cpcexp: added ROMEN signal, and a function to tell an expansion to se… ·

- Barry Rodewald
Amstrad CPC, Sharp X68000, Neo Geo Pocket, and Neo Geo AES system leader at HARP
http://www.homeactionreplay.org/

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.267
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 1009
  • Likes Given: 2365
Re: Got bored again...
« Reply #1 on: 01:28, 10 May 15 »
Heh, super nice!  8)

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.372
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3062
  • Likes Given: 5584
Re: Got bored again...
« Reply #2 on: 15:44, 16 June 15 »
Apologies, but what exactly is going on here? :D

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.282
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1170
  • Likes Given: 80
Re: Got bored again...
« Reply #3 on: 15:46, 16 June 15 »
Yay.
Mess running a brunword elite ROM module I assume.
IRC:  #Retro4All on Freenode

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.372
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3062
  • Likes Given: 5584
Re: Got bored again...
« Reply #4 on: 15:49, 16 June 15 »
Ah, funny that :)

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: Got bored again...
« Reply #5 on: 17:26, 16 June 15 »
Hmmm... after taking a short look. Brunword seems to locate ROMs at &4000 and &C000... Well the SF2 can do that too. So a patch is thinkable.  ;)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.282
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1170
  • Likes Given: 80
Re: Got bored again...
« Reply #6 on: 18:14, 16 June 15 »
Hmmm... after taking a short look. Brunword seems to locate ROMs at &4000 and &C000... Well the SF2 can do that too. So a patch is thinkable.  ;)
How about the c4cpc, I'd love a brunword cart in CPR format?
IRC:  #Retro4All on Freenode

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: Got bored again...
« Reply #7 on: 20:21, 16 June 15 »
How about the c4cpc, I'd love a brunword cart in CPR format?


The enhanced banking of the Cartridge ROMs (first 8) can be used for that. So yes, the only thing you have to do is to change some ROM numbers in the banking of the Brunword Cartridge.


However, to be able to do this, one needs all the ROM content and their original position (address and I/O). Since I think that installing MESS is a mess - and I gave up, because my time is limited, I guess somebody else can do that. Or is everything already in the Wiki? I will take a look after I did pipet my RT-PCR.  :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline mahlemiut

  • CPC6128
  • ****
  • Posts: 285
  • Country: nz
  • Liked: 138
  • Likes Given: 53
Re: Got bored again...
« Reply #8 on: 14:17, 20 June 15 »
Well, it happened again...







If you're impatient, it's in the MAME source now, otherwise wait for MAME 0.163 (coming very soon).

To use, add -exp hd20 to the commandline, which will also allow you to add -hard <filename>.
Code: [Select]
mame cpc6128 -exp hd20 -hard1 disk.chd
Only MAME CHDs are supported, you can create a blank hard disk image using chdman.  Geometry is 615/4/17.
Code: [Select]
chdman createhd -o disk.chd -c none -chs 615,4,17(-c none means no compression, but this is required for MAME to write directly to the CHD image.  If you use compression, then data writes will be written to a separate file)

You can use X-DDOS 2.00 or 2.10 by using -exp hd20,bios=xddos200 or -exp hd20,bios=xddos210.  v2.10 is the default.

EDIT: http://mahlemiut.marpirc.net/cpc_hd20.avi  -- just a quick demo loading a game from HD.
« Last Edit: 14:42, 20 June 15 by mahlemiut »
- Barry Rodewald
Amstrad CPC, Sharp X68000, Neo Geo Pocket, and Neo Geo AES system leader at HARP
http://www.homeactionreplay.org/

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: Got bored again...
« Reply #9 on: 19:26, 22 June 15 »
WoW!!!!!!! The legendary HD20 from Dobbertin!!!!!!!! This is pure awesomeness!!!!!!! Thank you so much!!!!!!!  :) :) :) :) :) :) :) :)


EDIT: Is there an ready to go archive of the emulator?

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: Got bored again...
« Reply #10 on: 21:38, 22 June 15 »
Yay, it works, after 90 minutes of compiling the latest git version of MAME on my slow-ass Linux PC.   :)

Strangely enough, chdman does not get installed on Arch Linux automatically but I found it in the build directory.

Nice work, mahlemiut!

I think the next MAME release is this Wednesday, so those who do not want to compile MAME themselves do not have to wait too long…

P.S. I've also updated the MAME ROM zip file on the Wiki to include the HD20 ROMs.


Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: Got bored again...
« Reply #11 on: 22:23, 22 June 15 »
Would be nice to have an installation like for all other Emulators of the CPC on Windoof side. Just start & work with it.

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: Got bored again...
« Reply #12 on: 23:48, 22 June 15 »
Well, you can get stable release binaries for Windows: MAME | Latest MAME Release

But you will have to wait for 0.163 to get this hard disc feature.

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: Got bored again...
« Reply #13 on: 00:21, 23 June 15 »
It puts a lot of folders around, but I found nothing to start it.


As worse: No ROMs contained.


So is there a Manual somewhere? I tried that before, without any success. It may be a great emulator, but only PC experts can install or run it I guess.

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: Got bored again...
« Reply #14 on: 01:20, 23 June 15 »
The wiki page has instructions and a zip file with the CPC ROMs: MAME - CPCWiki

Unpack the ROMs into the roms folder, start cmd.exe, cd into the mame folder and run something like "mame cpc6218" (or mame64 if you have the 64 bit version).

I suppose you could try a GUI frontend, but usually they are better for arcade games. I hope now that MESS is part of MAME that will change and the GUIs will improve.


Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: Got bored again...
« Reply #15 on: 02:12, 23 June 15 »
P.S. And if you manage to start MAME, it will be fullscreen by default. You can exit with "Rollen", then "Escape", or toggle back to windowed mode with Alt-Return.


Offline mahlemiut

  • CPC6128
  • ****
  • Posts: 285
  • Country: nz
  • Liked: 138
  • Likes Given: 53
Re: Got bored again...
« Reply #16 on: 03:29, 23 June 15 »
MAME 0.163 should be out within the next 36 hours, barring any major difficulties.

You can still build MESS, with make SUBTARGET=mess and if you want the tools (chdman and so on), add TOOLS=1 to that commandline.

A new feature in this release is being able to build an executable that runs a single driver.  make SUBTARGET=<driver> DRIVERS=<source file>
May not work in all cases, but this is being worked on, but when it does, it should be much quicker to build.
An example that does work - was able to test the new (and painfully slow) analog drums recently added to the arcade game Kid Niki, built using make SUBTARGET=kidniki DRIVERS=src/mame/drivers/m62.c

- Barry Rodewald
Amstrad CPC, Sharp X68000, Neo Geo Pocket, and Neo Geo AES system leader at HARP
http://www.homeactionreplay.org/

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: Got bored again...
« Reply #17 on: 11:24, 23 June 15 »
Yes, the SUBTARGET stuff came from the JSMESS project originally, didn't it? It's useful to have this in MAME too if you only want to build e.g. a CPC emulator from MAME without everything else.

EDIT: I've tried building the cpc6128 subtarget ("SUBTARGET=cpc6128 DRIVERS=src/mess/drivers/amstrad.c"), but the build process crashes.  :(
« Last Edit: 11:41, 23 June 15 by Morn »

Offline remax

  • 6128 Plus
  • ******
  • Posts: 1.096
  • Country: fr
  • Liked: 400
  • Likes Given: 436
Re: Got bored again...
« Reply #18 on: 20:30, 23 June 15 »
The wiki page has instructions and a zip file with the CPC ROMs: MAME - CPCWiki

Unpack the ROMs into the roms folder, start cmd.exe, cd into the mame folder and run something like "mame cpc6218" (or mame64 if you have the 64 bit version).

I suppose you could try a GUI frontend, but usually they are better for arcade games. I hope now that MESS is part of MAME that will change and the GUIs will improve.


QMC2 has it all... for ages!

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: Got bored again...
« Reply #19 on: 20:41, 23 June 15 »

QMC2 has it all... for ages!
Compared to e.g. JavaCPC or WinAPE, inserting a disk image is too difficult with QMC2. Using the MAME commandline is easier than QMC2 IMO.

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: Got bored again...
« Reply #20 on: 21:23, 23 June 15 »
OK, if already getting a DSK in is such a problem I guess I give it up.


Maybe some day somebody will make an Archive of that MAME and then is will be usable for a broader range of people and not only super specialists who have hours time for installation (which may or may not succeed). Sorry for sounding a bit disappointed, I'm sure it's a great emulator.


So maybe somebody could put the new version (after it's release in 35 hours) somewhere into the CPC Wiki. Or drop an .ZIP here.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: Got bored again...
« Reply #21 on: 22:10, 23 June 15 »
To be fair, you can also start the emulator without a disk image and then use the built-in menu to load a disc (under "File Manager"). This should work well for e.g. CPC games from the software list if the DSK image is in the MAME folder.

But if you want to load a .DSK from somewhere else on your hard drive, it's annoying that the built-in menu defaults to the root directory of your hard drive, so you have to navigate to the correct directory first.

So I use a Python script on Linux that calls MAME, which I run like "cpc somedisk.dsk" in the directory that has my disk image. This cpc script is also registered to handle .dsk files, so I can also just double-click a .dsk file in the file manager and MAME will pop up with the disc inserted.

Code: [Select]
#!/usr/bin/env python

# Starte MAME mit CPC-Emulation

# "cpc"  : emulated keyboard
# "cpcn" : natural

import os
from sys import argv

if 'cpcn' in argv[0]:
    nat = '-natural'
else:
    nat = ''

s = "/usr/share/sdlmame/sdlmame cpc6128 -skip_gameinfo -window %s -keymap -keymap_file /usr/share/sdlmame/keymaps/km-de.txt" % nat

if len(argv) > 1:
    for x in range(1, len(argv)):
        s += ' -flop%u "%s"' % (x, argv[x])
os.system(s)

# .zip Files mit .DSKs koennen als Directory übergeben werden
« Last Edit: 22:14, 23 June 15 by Morn »

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: Got bored again...
« Reply #22 on: 22:26, 23 June 15 »
@Devilmarkus : Can you put the HD20 support in JavaCPC or maybe @Executioner can put it in WinApe?

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: Got bored again...
« Reply #23 on: 22:34, 23 June 15 »
@Devilmarkus : Can you put the HD20 support in JavaCPC or maybe @Executioner can put it in WinApe?
AFAIK they would need to implement an XT hard disk controller, which already existed in MAME/MESS for PC emulation.

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: Got bored again...
« Reply #24 on: 22:57, 23 June 15 »
So the simple solution to running MAME on Windows is……… install Linux! You know you really want to! You can even lock out velociraptors with it!  :P

« Last Edit: 23:08, 23 June 15 by Morn »