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

0 Members and 1 Guest are viewing this topic.

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 #25 on: 23:25, 23 June 15 »
Looks like!  :-X   :laugh:
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

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 #26 on: 00:52, 24 June 15 »
@mahlemiut : Did you or could you please check if your HD20 implementation works with FutureOS? (I mean look at directories, type files on screen etc.).  :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline remax

  • 6128 Plus
  • ******
  • Posts: 1.096
  • Country: fr
  • Liked: 400
  • Likes Given: 436
Re: Got bored again...
« Reply #27 on: 01:21, 24 June 15 »
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.


I can't see why you find it more difficult...


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 


Han han, you didn't say the magic word...

Offline mahlemiut

  • CPC6128
  • ****
  • Posts: 285
  • Country: nz
  • Liked: 138
  • Likes Given: 53
Re: Got bored again...
« Reply #28 on: 02:56, 24 June 15 »
@mahlemiut : Did you or could you please check if your HD20 implementation works with FutureOS? (I mean look at directories, type files on screen etc.).  :)
It didn't when I checked.  It would read one of the HD20 ports, but appeared to do nothing with the result.
I used the CPR version for that, as that's the only version that works in MESS, since you can't directly control which slot ROMs plug into (it's to do with the way the driver was originally written, I wasn't about to re-write it all.  Yet. ;))  I need to fix up the analogue input ports too, since that would be something to test it against.
- 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 #29 on: 21:13, 24 June 15 »
If you need any kind of help with it let me know.  :)
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 #30 on: 10:12, 25 June 15 »
Well, looks like the reset register expects a reset regardless of whether it's a read or a write.  Added the chip reset to the read handler, and now I can get a directory listing, at least.  (and fixed up the analogue inputs so that's FutureOS is at least somewhat controllable now)



Couldn't type the text file though, complains about "No F.Header". (File header?  Refers to AMSDOS header?  ASCII files have no header, so maybe expected behaviour?)
- 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 #31 on: 19:04, 25 June 15 »
Well, looks like the reset register expects a reset regardless of whether it's a read or a write.  Added the chip reset to the read handler, and now I can get a directory listing, at least.  (and fixed up the analogue inputs so that's FutureOS is at least somewhat controllable now)
Ok, great! The read-port (iirc) is to reset the hard-disc. (Dunno if you talked about this before, but you got it running! That's all that counts).

Couldn't type the text file though, complains about "No F.Header". (File header?  Refers to AMSDOS header?  ASCII files have no header, so maybe expected behaviour?)
That's a regular behavior. When typing an ASCII file you get the message "No header". But just press space and continue to select screen format in which you would like to see the file.
Sorry, I should make this more clear in the handbook (which I intend to overwork soon, because at July 12 there will be some releases :-))

Thank you very much for dong all this!!!
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 #32 on: 03:09, 26 June 15 »
Ok, it looks like it gets stuck waiting for keyboard input, and nothing seems to work.  Likely an issue with the PPI, did you use different keyboard handling code for the CPR version? (So that I'll know if I need to implement the specific buggy PPI implementation the Plus uses)
- 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 #33 on: 04:01, 26 June 15 »
Ok, it looks like it gets stuck waiting for keyboard input, and nothing seems to work.  Likely an issue with the PPI, did you use different keyboard handling code for the CPR version? (So that I'll know if I need to implement the specific buggy PPI implementation the Plus uses)


Honestly I had this "bug" all the time in FutureOS. It's a problem of FutureOS. Sometimes it senses a pressed letter which is not there. I don't know why this happens. My keyboard scanning does it the same way the Firmware does it (regarding values getting send to / received from PPI/PSG ports).
So the emulation is IMHO (99,7%) fine. I really wished to know why it happens. I have to care about it, but don't know where to start with.  :(
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 #34 on: 10:18, 26 June 15 »
Seems to work when I press Caps Lock, for some strange reason.  Caps Lock, in general, seems to be a bit broken.  I can switch it on, but it can never be switched off.

I tried removing the PORT_TOGGLE (which is used when an input bit only changes state when you press it, ie: press it once to make it active, press it again to make it inactive), but that just made Caps Lock on permanently.
- Barry Rodewald
Amstrad CPC, Sharp X68000, Neo Geo Pocket, and Neo Geo AES system leader at HARP
http://www.homeactionreplay.org/

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: Got bored again...
« Reply #35 on: 11:01, 26 June 15 »
When does it get stuck?

@TFM: The code in futureos looks ok.

I can see you are selecting the psg register and then sending inactive to psg.
I see you read psg register and read the data. I don't see you sending inactive to psg again.
Firmware does send inactive after port read, so it seems futureos is different here. Firmware also returns port A to output when it's used it. When it needs to read it switches and returns it back again. The sound code assumes port A is set to output.


My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline mahlemiut

  • CPC6128
  • ****
  • Posts: 285
  • Country: nz
  • Liked: 138
  • Likes Given: 53
Re: Got bored again...
« Reply #36 on: 16:15, 26 June 15 »
Seems to be some issue with using Caps Lock in general, I get it staying active on PC drivers also.  Trying to figure out if it's an SDL2 issue or affects Win32 builds also.

FutureOS gets stuck on filename entry when renaming files (shouldn't FutureOS keep filenames in uppercase?  X-DDOS can't find lowercase filenames), or waiting for the spacebar to be pressed.  Essentially, it seems to work for selections, but not keypress waiting or text entry, but will start working if Caps Lock is pressed once.  No idea why.
- 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 #37 on: 21:21, 26 June 15 »
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.
You could also try MAMEUI64, they have released their 0.163 version now: IV/Play and MameUI Home Page

Unzip (with 7-ZIP), unzip the CPC ROMs from the Wiki into ROMs\, search for cpc in the builtin game list and you should at least be able to start the CPC emulation. Maybe set "Run in a window" under Default Game Options -> Display first.



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 #38 on: 23:47, 26 June 15 »
Here is a DSK in Vortex Format, it contains some games, converted to run with the HD20 hard disc. Most files are system files, so you can't see them. If you copy them all to the HD20 you can run the games from there.


I found that DSK today by accident...so I thought I post it here. Hope you like it.  :)
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 #39 on: 02:28, 27 June 15 »
How do you go about copying the files?  With FutureOS, it will copy them, but X-DDOS cannot find the files once copied - they are visible to CAT, but not |DIR and they cannot be run (gives file not found error).  |COPY isn't much use either.
- 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 #40 on: 20:38, 29 June 15 »
Oh, the files to start are DIR, so can be seen. Others (not to start) are invisible. Yes, you can use FutureOS to copy. Or if you don't need the crap for FutureOS (just the games) use X-DDOS COPY command with *.* (then delete unused crap). Sorry, haven't really had the time to care about details, didn't think it's a problem. But you can use a lot of cracked games from HD20 anyway.  :)
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 #41 on: 13:13, 26 October 15 »
amstrad: added Draysoft Doubler expansion device · mamedev/mame@1e29040 ·

Done in less than an hour, and not exactly the most useful of devices, but it does provide one (rather roundabout) way of converting a CDT to WAV. ;)
- Barry Rodewald
Amstrad CPC, Sharp X68000, Neo Geo Pocket, and Neo Geo AES system leader at HARP
http://www.homeactionreplay.org/