Jump to content
IGNORED

New MAME release


mizapf

Recommended Posts

I think I have found a bug!?!

 

I start MAME with:

D:\mame>mame genmod -bios 1.00 -peb:slot3 horizon -peb:slot5 tirs232 -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 DSDD1.dsk -flop2 DSDD2.hfe -flop3 DSDD3.dsk -flop4 DSDD4.dsk -serl1 socket.localhost:10000

 

GeneveOS 7.3 boots up.

 

If I do a: dir h: (scsi1) I get device error.

If I do a: dir i: (scsi2) things lock up.

 

What tools are available to see if this is a bug in MAME or a bug in GeneveOS?

 

image.png.5795f2b8f28379a341af4d405f48253e.png

Link to comment
Share on other sites

The same happens for me. I'd vote for a GeneveOS bug.

 

If you start the debugger (command line option "-debug") you see that it is spinning in these lines when you do a "dir i:" or "dir j:":

 

0d24 movb @>4fe2,R2
0d28 andi R2,>4000
0d2c jeq >0d24

 

Maybe we can locate that in the source code.

 

Edit: This looks like waiting for the SCSI arbitration-in-progress bit. Interestingly, SCS1 does not lead into this loop.

  • Thanks 1
Link to comment
Share on other sites

There might not be a device error trap to detect whether a SCSI card is present before performing the low level IO.  Long ago, a DSR EPROM was not required to use the SCSI card with a Geneve.  I think we've moved beyond that and if validation hasn't already been added to 7.3x as part of the in-process cleanup, the code should be added before a next release.  Can someone please add this issue to the Geneve OS development thread if it is not a MAME issue?

Link to comment
Share on other sites

@mizapf

 

I am not sure if I am trying something presently unsupported with the TIPI and MAME.  Using the Geneve emulation.  I am able to access directory listings on the PI without issue.

 

I have both the embedded telnet client in MDOS as well as MyTerm for the TIPI.  When I attempt to use the TCP services, MAME aborts without any error messages and closes out the emulation.  

 

I guess my first question, is if TCP services are working, does Matt's telnet client work?

 

Beery

Link to comment
Share on other sites

I'd need some more detailed descriptions to test it. I have certainly not tested every single edge of the TIPI emulation yet, so I expect to find some issues here and there. If MAME stops suddenly, this looks like a programming error that I have to fix. Did you try to enable logging with "-log" or "-oslog"?

Link to comment
Share on other sites

58 minutes ago, mizapf said:

I'd need some more detailed descriptions to test it. I have certainly not tested every single edge of the TIPI emulation yet, so I expect to find some issues here and there. If MAME stops suddenly, this looks like a programming error that I have to fix. Did you try to enable logging with "-log" or "-oslog"?

OK, here is what I got with -log

 

image.thumb.png.e0d06a0c1b2426bb769910e3c27ebb72.png

 

 

error.log

  • Like 1
Link to comment
Share on other sites

MID interrupt; this happens inside the emulation: An invalid opcode was encountered. As it seems, the page that is mapped to execution page 0 is empty (at least at its beginning). Maybe you should use the debugger, set a breakpoint at 0068, and check the mapper at F110. The initial cause is not shown here, but the return vector should be there.

Link to comment
Share on other sites

For a new project, I'd like to create a cartridge file with a paged 8 MB ROM. I've started with layout <pcb type="paged377">, but I'm running into its 2 MB limit. I'm now considering a multicart setup with 4 such cartridges, but that seems a bit cumbersome to manage. Are there any other options? Sorry if I'm missing something obvious.

  • Like 1
Link to comment
Share on other sites

@mizapf would you mind giving me the command line for a pure TI pbox and one for an ALL SNUG System?

 

As far as you know, is there any problems with sharing a scsi hard drive image between an ALL SNUG system and Geneve Based system (or course not accessing at the same time)?

Link to comment
Share on other sites

@Eric LafortuneIf you tell me how you plan to build such a cartridge, I'd be ready to add that to the set of cartridge types. The point is that I cannot just extend the 377 type, not only because it does not reflect what you can do with a 377, but I simply don't know how to map so many pages.

Link to comment
Share on other sites

30 minutes ago, mizapf said:

but I simply don't know how to map so many pages

Just extend the existing system with more bits controlled by writing to more words in cartridge space. That's how the cart Dragons Lair cartridge works (the demo at least). Classic99 and JS99er supports it.

DragonsLairDemo.rpk

Edited by Asmusr
  • Like 1
Link to comment
Share on other sites

I just checked my implementation; I would not suggest that you use the paged378 but gromemu instead. @Eric LafortuneThis should be the proper way for you, too. I planned the type gromemu as a catch-all for all kinds of GROM emulations (by EPROM) and also for the widest range of ROM sizes. It measures the ROM size and creates a bank mask from it. So, for setting the bank, in the extreme case you can write from 6000 to 7ffe (even addresses), i.e. up to 4096 banks by 8 KiB and hence up to 32 MiB.

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

@mizapf you really need a buy me a coffee on your webpage! ?

 

 
Original TI:
  TI-99/4A
  Peripheral Expansion Box
      32K Memory Expansion Card
      RS232/PIO card (TI)
      TI Floppy Disk Controller Card
                  DSK1 - DS/SD   <= Which can be made with the TI Image Tool.
                  DSK2 - DS/SD
 
      Questions:
            Is it possible to 'print' from the PIO port?
 
SNUG Configuration:
   SGCPU (SNUG, TI-99/4A in the box)
    Peripheral Expansion Box     
        RS232/PIO card (TI)
        Enhanced Video Processor Card 1 (SNUG)   
        High Speed GPL Card (SNUG)
        BwG Floppy Disk Controller (SNUG)
                  DSK1 - DS/DD
                  DSK2 - DS/DD
 
        Two Items I see missing from the SNUG portfolio -
              High Speed RAM Disk - which is pretty kewl.
              SNUG Enhanced Speech Card.
 
Reference:
  • 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...