English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 01 March 2007, 13:39   #1
F1ReB4LL
Registered User
 
Join Date: Mar 2007
Location: Russia
Posts: 42
Quote:
Originally Posted by gizmomelb
Hi Toni,

in the recent 0.112 release of MAME they added CD32 (arcade machine) support - I was wondering if you had any involvement with that or if you ever worked with the MAME/MESS guys at all?
Cubo CD32 is a regular CD32 hacked to handle the coin input. At least 8 games are known to exist on this h/w (6 of them are in MAME). You can boot the games into the attract mode in WinUAE as CD32 ones, but you won't be able to insert coin or enter the service mode, since they are unmapped.
F1ReB4LL is offline  
AdSense AdSense  
Old 01 March 2007, 15:09   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,668
They are mapped, try pressing all CD32 buttons.. (FFW = Numpad - by default)
Toni Wilen is online now  
Old 01 March 2007, 18:35   #3
F1ReB4LL
Registered User
 
Join Date: Mar 2007
Location: Russia
Posts: 42
Nope, nothing. Are you sure they are mapped to the CD32 joypad buttons? According to http://ninjaw.ifrance.com/cd32/cubo/ , it has a custom controller card with the coin input and some additional dip switches.
F1ReB4LL is offline  
Old 01 March 2007, 20:40   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,668
Two randomly chosen games (Harem Challenge and Laser Quiz) can be played without problems. FFW = insert coin here.

Don't know about possible service mode switches. (there is absolutely nothing Cubo specific in WinUAE, Cubo games just appeared to work so I didn't bother with it)

Last edited by Toni Wilen; 01 March 2007 at 21:07.
Toni Wilen is online now  
Old 01 March 2007, 22:03   #5
F1ReB4LL
Registered User
 
Join Date: Mar 2007
Location: Russia
Posts: 42
I have only Candy Puzzle, doesn't work there. Maybe, FFW is one of the service buttons, not the coin input itself.
F1ReB4LL is offline  
Old 02 January 2013, 15:37   #6
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 3,777
i found odeon twister 2. these dumps were done in mame's chd format. i can insert the chd image, but stalled on some cd32-menu-screen.
Toni: next to cubo "emulation", do you think there will be chd support, once in winuae?
emufan is offline  
Old 02 January 2013, 15:50   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,668
AFAIK there still isn't full source without license issues. I am not going to write one myself.

chdman.exe probably supports conversion to some supported format.
Toni Wilen is online now  
Old 02 January 2013, 15:59   #8
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 3,777
codesearch revealed some related file:
chd related files from mame sourcetree
cannot say what it mean. does it fit somehow to winuae?
maybe chdman is the way to go. with chd support, we could use, whats already preserved.

Last edited by emufan; 02 January 2013 at 17:59. Reason: fixed url for mame chd sourcecode
emufan is offline  
Old 02 January 2013, 16:43   #9
Arbee
 
Posts: n/a
Hi Toni,

All of the files involved in CHD are dual-licensed as plain MIT/no-credit BSD to enable usage by other emulators. If any files were missed, please let us know and we can correct the situation.

Thanks!
-RB
 
Old 02 January 2013, 16:49   #10
Arbee
 
Posts: n/a
emufan,

That is not the main MAME code, that's a fork/port to the Nintendo Wii. Current MAME source is browsable at http://git.redump.net/mame/

Thanks,
-RB
 
Old 02 January 2013, 17:55   #11
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 3,777
thank you for joining Mr. R. Belmont.
what i get from your posting here, it seems possible to have chd support in winuae. that is good news.
thanks to the mame team for all your work you have done
ps: i bookmark the correct source url now - i too fixed the link above.
emufan is offline  
Old 02 January 2013, 19:21   #12
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,668
No wonder I never found anything, very well hidden in deep directory structure. (I did find chdman sources but it didn't look right)

I guess with some copy/pasting it can be done. I am not going to include anything else than low level CD toc/subchannel/read functions, I don't need any sector conversion or any other helper functions.
Toni Wilen is online now  
Old 02 January 2013, 19:37   #13
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 3,777
Quote:
Originally Posted by Toni Wilen View Post
I don't need any sector conversion or any other helper functions.
just the possibility to insert and use a chd image , thats it. thank you.
emufan is offline  
Old 03 January 2013, 17:06   #14
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,668
Quote:
Originally Posted by Arbee View Post
If any files were missed, please let us know and we can correct the situation.
First problem: LzmaDec_Allocate_MAME() in chdcodec.c. Does this need some special Lzma SDK? (and why?)

ADDED: It is also quite impossible to disable compression support without big modifications.
Toni Wilen is online now  
Old 03 January 2013, 20:13   #15
Arbee
 
Posts: n/a
Hi Toni,

That function is simply to glue LZMA to MAME's internal memory manager, which tracks leaks and such. The actual compression is completely standard LZMA and you can use the stock LZMA SDK.

-RB
 
Old 03 January 2013, 21:11   #16
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,668
Quote:
Originally Posted by Arbee View Post
That function is simply to glue LZMA to MAME's internal memory manager, which tracks leaks and such. The actual compression is completely standard LZMA and you can use the stock LZMA SDK.
I don't think so. Check the function yourself in lib/lib7z/LzmaDec.c, there is also interesting comment.

Anyway, I got zlib compressed chd working already. (no audio tracks or subchannel support yet but soon)

EDIT: audio tracks work too (only zlib tested, don't have other test images)

EDIT2: zlib, lzma, flac tested and confirmed working (with LzmaDec_Allocate_MAME added to LzmaDec.c). Subchannels should work but not tested because chdman does not seem to accept .ccd and all my CD+G test images are .ccd.

Last edited by Toni Wilen; 04 January 2013 at 09:21.
Toni Wilen is online now  
Old 04 January 2013, 10:15   #17
AnnaWu
Registered User
AnnaWu's Avatar
 
Join Date: Dec 2012
Location: Germany
Posts: 439
Quote:
Originally Posted by Toni Wilen View Post
I don't think so. Check the function yourself in lib/lib7z/LzmaDec.c, there is also interesting comment.

Anyway, I got zlib compressed chd working already. (no audio tracks or subchannel support yet but soon)

EDIT: audio tracks work too (only zlib tested, don't have other test images)

EDIT2: zlib, lzma, flac tested and confirmed working (with LzmaDec_Allocate_MAME added to LzmaDec.c). Subchannels should work but not tested because chdman does not seem to accept .ccd and all my CD+G test images are .ccd.
Do you have a test build?
AnnaWu is offline  
Old 04 January 2013, 12:29   #18
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,668
http://www.winuae.net/files/b/winuae.zip hopefully works..
Toni Wilen is online now  
Old 04 January 2013, 13:45   #19
AnnaWu
Registered User
AnnaWu's Avatar
 
Join Date: Dec 2012
Location: Germany
Posts: 439
Quote:
Originally Posted by Toni Wilen View Post
Nice job, Toni. : )

My first test was the CD32 version of Pinball Fantasies and it works.

Quote:
28-001 [0 000=000]: 1: 0 00:02:00 DATA 4 0 101621376
28-001 [0 000=000]: - C:\Emulator\Amiga\Games\CD32\Pinball Fantasies.chd
28-001 [0 000=000]: 2: 2208 00:31:33 CDA 0 2208 101621376
28-001 [0 000=000]: - C:\Emulator\Amiga\Games\CD32\Pinball Fantasies.chd
28-001 [0 000=000]: 3: 20133 04:30:33 CDA 0 20136 101621376
28-001 [0 000=000]: - C:\Emulator\Amiga\Games\CD32\Pinball Fantasies.chd
Code:
FILE "Pinball Fantasies.bin" BINARY
  TRACK 01 MODE1/2352
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    PREGAP 00:02:00
    INDEX 01 00:29:33
  TRACK 03 AUDIO
    INDEX 00 04:26:33
    INDEX 01 04:28:33
Code:
11:37:23.063: CreateCD: starting process
11:37:23.083: CreateCD: process started: PID = 264
11:37:23.163: CreateCD: Compressing, 0.0% complete... (ratio=100.0%)
11:37:26.868: CreateCD: Compressing, 1.8% complete... (ratio=100.0%)
11:37:28.371: CreateCD: Compressing, 1.8% complete... (ratio=100.0%)
11:37:31.876: CreateCD: Compressing, 2.5% complete... (ratio=27.4%)
11:37:33.578: CreateCD: Compressing, 4.1% complete... (ratio=45.7%)
11:37:36.683: CreateCD: Compressing, 7.4% complete... (ratio=31.6%)
11:37:39.987: CreateCD: Compressing, 7.4% complete... (ratio=23.7%)
11:37:43.292: CreateCD: Compressing, 9.9% complete... (ratio=36.5%)
11:37:46.507: CreateCD: Compressing, 14.8% complete... (ratio=44.0%)
11:37:49.721: CreateCD: Compressing, 14.8% complete... (ratio=37.7%)
11:37:52.926: CreateCD: Compressing, 19.7% complete... (ratio=55.5%)
11:37:56.131: CreateCD: Compressing, 22.2% complete... (ratio=50.5%)
11:37:59.335: CreateCD: Compressing, 24.7% complete... (ratio=52.1%)
11:38:02.440: CreateCD: Compressing, 24.7% complete... (ratio=52.1%)
11:38:05.644: CreateCD: Compressing, 29.6% complete... (ratio=54.2%)
11:38:08.749: CreateCD: Compressing, 29.6% complete... (ratio=50.0%)
11:38:11.953: CreateCD: Compressing, 32.1% complete... (ratio=55.0%)
11:38:15.258: CreateCD: Compressing, 37.0% complete... (ratio=56.2%)
11:38:18.573: CreateCD: Compressing, 39.5% complete... (ratio=56.5%)
11:38:21.797: CreateCD: Compressing, 39.5% complete... (ratio=56.5%)
11:38:25.112: CreateCD: Compressing, 44.4% complete... (ratio=56.9%)
11:38:28.557: CreateCD: Compressing, 46.9% complete... (ratio=56.8%)
11:38:31.281: CreateCD: Compressing, 46.9% complete... (ratio=56.8%)
11:38:34.566: CreateCD: Compressing, 51.8% complete... (ratio=55.2%)
11:38:37.700: CreateCD: Compressing, 51.8% complete... (ratio=55.2%)
11:38:40.815: CreateCD: Compressing, 54.3% complete... (ratio=52.4%)
11:38:43.919: CreateCD: Compressing, 59.2% complete... (ratio=54.0%)
11:38:47.054: CreateCD: Compressing, 61.7% complete... (ratio=53.6%)
11:38:50.268: CreateCD: Compressing, 64.1% complete... (ratio=53.3%)
11:38:53.433: CreateCD: Compressing, 66.6% complete... (ratio=53.0%)
11:38:56.888: CreateCD: Compressing, 66.6% complete... (ratio=53.0%)
11:39:00.213: CreateCD: Compressing, 69.1% complete... (ratio=50.9%)
11:39:03.517: CreateCD: Compressing, 71.5% complete... (ratio=52.4%)
11:39:06.722: CreateCD: Compressing, 74.0% complete... (ratio=52.1%)
11:39:09.857: CreateCD: Compressing, 76.5% complete... (ratio=50.3%)
11:39:12.981: CreateCD: Compressing, 78.9% complete... (ratio=51.6%)
11:39:16.106: CreateCD: Compressing, 81.4% complete... (ratio=51.4%)
11:39:19.350: CreateCD: Compressing, 86.3% complete... (ratio=51.1%)
11:39:22.445: CreateCD: Compressing, 86.3% complete... (ratio=51.1%)
11:39:25.539: CreateCD: Compressing, 88.8% complete... (ratio=51.0%)
11:39:28.583: CreateCD: Compressing, 93.7% complete... (ratio=50.7%)
11:39:31.848: CreateCD: Compressing, 93.7% complete... (ratio=49.4%)
11:39:34.893: CreateCD: Compressing, 96.2% complete... (ratio=50.5%)
11:39:36.695: CreateCD: Compression complete ... final ratio = 50.1%
11:39:36.765: CreateCD: chdman - MAME Compressed Hunks of Data (CHD) manager 0.147u4 (Dec 25 2012)
11:39:36.765: CreateCD: trk 1: 2208 frames @ offset 0
11:39:36.775: CreateCD: trk 2: 17925 frames @ offset 5193216
11:39:36.775: CreateCD: trk 3: 21375 frames @ offset 47352816
11:39:36.775: CreateCD: Output CHD:   C:/Temp/xxx/Pinball Fantasies.chd
11:39:36.775: CreateCD: Input file:   C:/Emulator/Amiga/Games/CD32/Pinball Fantasies.cue
11:39:36.775: CreateCD: Input tracks: 3
11:39:36.775: CreateCD: Input length: 09:13:33
11:39:36.785: CreateCD: Compression:  cdlz (CD LZMA), cdzl (CD Deflate), cdfl (CD FLAC)
11:39:36.785: CreateCD: Logical size: 101,621,376
11:39:36.785: CreateCD: process finished: exitCode = 0, exitStatus = normal, execTime = 00:02:13.820
Attached Files
File Type: txt winuaebootlog.txt (9.4 KB, 117 views)
File Type: txt winuaelog.txt (11.9 KB, 63 views)

Last edited by AnnaWu; 04 January 2013 at 15:30.
AnnaWu is offline  
Old 04 January 2013, 14:17   #20
Arbee
 
Posts: n/a
Great work, Toni!

Do you have documentation for .ccd? That is the main reason chdman doesn't accept it at this time.
 
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
CUBO CD32 Games.. Hammy request.Old Rare Games 345 14 October 2017 22:56
CD32 Cubo Dastardly Amiga scene 13 24 July 2014 18:10
WTB cubo cd32 carlo3do MarketPlace 4 14 May 2012 21:10
Cubo Cd32 nnever2000 Amiga scene 14 12 September 2007 04:22
Cubo CD32 - Interesting news from MAMEDevs... DamienD Retrogaming General Discussion 1 30 August 2007 21:39

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:50.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.27067 seconds with 13 queries