Jump to content
IGNORED

New MAME release


mizapf

Recommended Posts

1 hour ago, Gary from OPA said:

and how in the hell to i disable that horrible disk drive sound, it is hurting my ears!

Sorry to hear you have trouble with that sound. Let me assure you that I put LOTS of efforts in time into that subproject to make it somewhat believable, and I still believe it to be one of the most valuable additions to MAME. For more detail, see the explanations on https://www.ninerpedia.org/wiki/MAME_Floppy_sound_emulation.

 

The sound in UAE was one of the features that made me interested in emulation, and was one of my dreams to realize in MAME.

 

That said, I know the sounds are not liked by everyone, but frankly speaking, what I do have some trouble with is when people treat it like some nuisance or imposition when it just suffices to ask whether there is a way to turn the sounds off or to lower their volume.

 

You can turn down the volume in the Sliders menu.

 

(Sorry if I react a bit harshly, but you're not the first one, and I seem not getting used to that over time.)

  • Like 2
  • Thanks 2
Link to comment
Share on other sites

57 minutes ago, mizapf said:

Sorry to hear you have trouble with that sound. Let me assure you that I put LOTS of efforts in time into that subproject to make it somewhat believable, and I still believe it to be one of the most valuable additions to MAME. For more detail, see the explanations on https://www.ninerpedia.org/wiki/MAME_Floppy_sound_emulation.

 

The sound in UAE was one of the features that made me interested in emulation, and was one of my dreams to realize in MAME.

 

That said, I know the sounds are not liked by everyone, but frankly speaking, what I do have some trouble with is when people treat it like some nuisance or imposition when it just suffices to ask whether there is a way to turn the sounds off or to lower their volume.

 

You can turn down the volume in the Sliders menu.

 

(Sorry if I react a bit harshly, but you're not the first one, and I seem not getting used to that over time.)

sorry, i am noobie when it comes to using mame. -- and i not used to the old-school floppy sound, been a while, all my real hardware ti99 systems have much quieter 5.25" and 3.5" floppy drives, i stopped using the large full-height original floppy drives from ti for a while now. -- plus the tiny tin speakers on my laptop are horrible, can't even listen to youtube on them.

 

so how do i access the sliders menu? to adjust the volume?

Link to comment
Share on other sites

Open the MAME OSD menu (the main control window of MAME) by pressing TAB in "UI controls enabled" mode. This mode is toggled by the ScrlLock key; please refer to https://www.ninermame.org/using/keyboard/uimodekey for more information if you want to use another key for that.

 

In the OSD menu there is the selection "Slider controls", the channel is named "flopsndout" (for each drive). I actually have it at 60%. Note that since there is no visible feedback in the emulation, those sounds may be the only indication that "something is happening".

Link to comment
Share on other sites

23 minutes ago, mizapf said:

Open the MAME OSD menu (the main control window of MAME) by pressing TAB in "UI controls enabled" mode. This mode is toggled by the ScrlLock key; please refer to https://www.ninermame.org/using/keyboard/uimodekey for more information if you want to use another key for that.

 

In the OSD menu there is the selection "Slider controls", the channel is named "flopsndout" (for each drive). I actually have it at 60%. Note that since there is no visible feedback in the emulation, those sounds may be the only indication that "something is happening".

What no blinking LEDs for the PEB cards. Just joking. Maybe someday. Also does the floppy sound change to a hard drive sound? If it's different device being accessed. Still haven't figured out how to get speech working even tho the speech roms are there. I guess that a command option in the batch startup.

Link to comment
Share on other sites

33 minutes ago, Gary from OPA said:

What no blinking LEDs for the PEB cards. Just joking. Maybe someday.

Yes, "artwork" is an existing MAME feature (for Arcade machines), so this may be feasible.

 

33 minutes ago, Gary from OPA said:

Also does the floppy sound change to a hard drive sound? If it's different device being accessed.

I considered this indeed, but it's a bit more difficult to get good sound samples. Only the old Seagate drives are loud enough to deliver good sounds.

 

33 minutes ago, Gary from OPA said:

Still haven't figured out how to get speech working even tho the speech roms are there. I guess that a command option in the batch startup.

In MAME, the Speech Synthesizer is modeled as a PEB card (device "speech"). Some time, I'll add a sidecar Speech Synthesizer.

 

mame ti99_4a -ioport peb -ioport:peb:slot4 speech ...

 

  • Like 2
Link to comment
Share on other sites

31 minutes ago, mizapf said:

 

In MAME, the Speech Synthesizer is modeled as a PEB card (device "speech"). Some time, I'll add a sidecar Speech Synthesizer.

 

mame ti99_4a -ioport peb -ioport:peb:slot4 speech ...

 

Is there a option for the Corcomp triple tech card to add clock and I guess that would not include speech so it would be two slots on the PEB?

Link to comment
Share on other sites

  • 4 weeks later...

New MAME release here (0.266).

 

There are two fixes for us:

1. The Horizon Ramdisk is now properly reset when the system is reset. This especially means that the two latches on the card are cleared.

2. The "Future SRAM expansion" area of the physical memory map of the Geneve is now properly assigned to on-board access and does not send accesses to the PEB anymore.

 

The pre-built binaries can be found, as usual, on our WHTech server:

 

Linux: https://ftp.whtech.com/emulators/MAME/ti99/linux/mame0266b_ti99_linux64bit.tar.gz

macOS: https://ftp.whtech.com/emulators/MAME/full/macos/mame0266b_macos64bit_arm64.zip

RPiOS: https://ftp.whtech.com/emulators/MAME/ti99/rpios/mame0266b_ti99_rpios64bit.tar.gz

Windows: https://ftp.whtech.com/emulators/MAME/ti99/windows/mame0266b_ti99_win64bit.zip

 

Edit: I built the Linux version for an Ubuntu 24.04 LTS. If you get problems with older OS releases due to library mismatches, you should build MAME from sources. Maybe you should build it from sources, anyway. That is, even if the binaries are working for you. Ask me for details if you are interested.

  • Like 7
  • Haha 1
Link to comment
Share on other sites

  • 2 weeks later...
On 6/2/2024 at 2:27 PM, mizapf said:

New MAME release here (0.266).

 

There are two fixes for us:

1. The Horizon Ramdisk is now properly reset when the system is reset. This especially means that the two latches on the card are cleared.

2. The "Future SRAM expansion" area of the physical memory map of the Geneve is now properly assigned to on-board access and does not send accesses to the PEB anymore.

 

The pre-built binaries can be found, as usual, on our WHTech server:

 

Linux: https://ftp.whtech.com/emulators/MAME/ti99/linux/mame0266b_ti99_linux64bit.tar.gz

macOS: https://ftp.whtech.com/emulators/MAME/full/macos/mame0266b_macos64bit_arm64.zip

RPiOS: https://ftp.whtech.com/emulators/MAME/ti99/rpios/mame0266b_ti99_rpios64bit.tar.gz

Windows: https://ftp.whtech.com/emulators/MAME/ti99/windows/mame0266b_ti99_win64bit.zip

 

Edit: I built the Linux version for an Ubuntu 24.04 LTS. If you get problems with older OS releases due to library mismatches, you should build MAME from sources. Maybe you should build it from sources, anyway. That is, even if the binaries are working for you. Ask me for details if you are interested.

Michael,

 

I have pulled the linux and rpios versions down, and if I am doing everything right, the 2.66 versions are showing up as version 2.64.

 

Is this an issue of not updating the version number, wrong files were selected, or am I doing something wrong?

 

 

  • Sad 1
Link to comment
Share on other sites

On 6/12/2024 at 12:51 AM, 9640News said:

I have pulled the linux and rpios versions down, and if I am doing everything right, the 2.66 versions are showing up as version 2.64.

Is this an issue of not updating the version number, wrong files were selected, or am I doing something wrong?

I just checked the history, and no, the correct versions have been built. You should get a 0.266 release from the above links. I just tried it for Linux and RPiOS, and I do get 0.266 as intended.

 

Interestingly, I did not build and upload a 0.264, so I cannot really explain why you see a 0.264.

  • Like 1
Link to comment
Share on other sites

20 minutes ago, mizapf said:

I just checked the history, and no, the correct versions have been built. You should get a 0.266 release from the above links. I just tried it for Linux and RPiOS, and I do get 0.266 as intended.

 

Interestingly, I did not build and upload a 0.264, so I cannot really explain why you see a 0.264.

OK, will investigate more.

Link to comment
Share on other sites

Hi,

  I tried to update from .256 > 266B, on Windows.

  Usual approach, pull over zip, unzip, copy and paste in to mame dir.

 

  When I try to start, I get,

  D:\mame>mame genmod -window -oslog -bios 1.00 -peb:slot3 horizon -peb:slot5 tirs232 -peb:slot6 tipi -conn rpi.192.168.2.213 -peb:slot8 hfdc -peb:slot8:hfdc:h1 generic -peb:slot8:hfdc:h2 generic -peb:slot8:hfdc:h3 generic -peb:slot8:hfdc:f3 525dd -peb:slot8:hfdc:f4 525dd -hard1 genos7boot.HD -hard2 Bootdisk2.HD -hard3 Bootdisk3.HD -flop1 DM1000SRC.dsk -flop2 DSDD2.hfe -flop3 DSDD3.dsk -flop4 DSDD4.dsk -serl1 socket.localhost:10000

 

tipidsr_2023.u2 NOT FOUND (tried in ti99_tipi genmod)

 

Fatal error: Required files are missing, the machine cannot be run.

 

Everything started OK, before the copy, paste.

 

 

Link to comment
Share on other sites

the EVPC setup seems to crash every time I try to change cartridges. cartridge change seems to work fine with TI99_4A with the same setup. 

attached is the .ini & the EVPC rom I use (might be old).

Here, the batch:

@cd mame0266b
@capson
@type sskeys.txt
@mame ti99_4ev -inipath ini/ev -window -uimodekey F11 -skip_gameinfo -autoframeskip -natural  -ioport peb -ioport:peb:slot3 tirs232 -ioport:peb:slot4 speech
@capson
@exit

 

attached is the .ini

 

ti99_4ev.7z ti99_evpc.zip

Link to comment
Share on other sites

I can confirm the crash. This seems to be related to a type mismatch between the (non-existent) TMS 9928A and the v9938 on cartridge insertion. Interestingly, it does not happen when I reset the emulator with F3.

 

My suggestion is to avoid swapping cartridges during runtime until this is fixed. You can start the emulation with the desired cartridge inserted in the command line.

Link to comment
Share on other sites

5 minutes ago, mizapf said:

I can confirm the crash. This seems to be related to a type mismatch between the (non-existent) TMS 9928A and the v9938 on cartridge insertion. Interestingly, it does not happen when I reset the emulator with F3.

 

My suggestion is to avoid swapping cartridges during runtime until this is fixed. You can start the emulation with the desired cartridge inserted in the command line.

will do.

Link to comment
Share on other sites

Fixed; it was even simpler. I expect it will be available with MAME 0.267.

 

$ git diff
diff --git a/src/mame/ti/ti99_4x.cpp b/src/mame/ti/ti99_4x.cpp
index aa39e4981ce..7da6cf1337f 100644
--- a/src/mame/ti/ti99_4x.cpp
+++ b/src/mame/ti/ti99_4x.cpp
@@ -840,7 +840,9 @@ void ti99_4x_state::console_reset(int state)
        {
                LOGMASKED(LOG_RESETLOAD, "Console reset line = %d\n", state);
                m_cpu->set_input_line(INT_9900_RESET, state);
-               m_video->reset_line(state);
+               // Don't reset the (not existing) console video chip in the EVPC configuration
+               if (m_model != MODEL_4EV)
+                       m_video->reset_line(state);
                m_ioport->reset_in(state);
        }
 }

 

I'm sure this is not a new bug; it could have been there for years. It only occurred when the console RESET line was triggered, which is by the cartridge port.

Link to comment
Share on other sites

I guess this is from the command line above, a Genmod. And you are still running a serial bridge on your localhost at port 10000 (as stated in the command line at the end).

 

Why don't you use bios 2.00? Is your TIPI also updated appropriately?

 

I suppose there are no further lines, but for easier debugging, use "-log" instead of "-oslog" and post the error.log here. This is much easier than doing screenshots.

  • Like 1
Link to comment
Share on other sites

No particular reason that I'm using bios v1, instead of v2.

 

After removing  -serl1 socket.localhost:10000 everything boots, and I am able to do a tstat which shows no tipi updates are waiting.

 

I think the reason I put in -serl1 was so I could communicate over the serial port or write to the serial port and save it to a file.

 

error.log

 

Everything started up with my config file with using .256, maybe mame tightened up on the -serl1 parameter?

 

Attached is the start up log with -serl1 add back.

 

mame genmod -window -log -bios 1.00 -peb:slot3 horizon -peb:slot5 tirs232 -peb:slot6 tipi -conn rpi.192.168.2.213 -peb:slot8 hfdc -peb:slot8:hfdc:h1 generic -peb:slot8:hfdc:h2 generic -peb:slot8:hfdc:h3 generic -peb:slot8:hfdc:f3 525dd -peb:slot8:hfdc:f4 525dd -hard1 genos7boot.HD -hard2 Bootdisk2.HD -hard3 Bootdisk3.HD -flop1 DM1000SRC.dsk -flop2 DSDD2.hfe -flop3 DSDD3.dsk -flop4 DSDD4.dsk -serl1 socket.localhost:10000

  • Like 1
Link to comment
Share on other sites

The point is that the "-serl1 socket.localhost:10000" instructs the MAME core to set up a socket connection to the destination localhost:10000. This in turn requires you to run another process that actually opens such a socket.

 

The problem is that this code in the core is not very robust; when it fails, the error is not appropriately handled. I noticed that this was the cause of crashes in earlier MAME releases; right now I see that I'm getting an image error when I try it without an opened port ("Unable to load image 'socket.localhost:10000': Connection refused (generic:111)").

 

You can run TIImageTool to provide this connection using the "serial bridge". Its purpose is to link MAME with the real serial interface (may be a real UART if your mainboard still has one, or a USB adapter). Then you can connect this with another computer by serial connection (e.g. the real Geneve, as I did).

 

Long text, in short: Do you really need it? If not, better leave it away.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...