RE: [techtoolslist] Work in progress, opinions...

From: Martin White <martin_at_guddler.com>
Date: Tue Sep 16 2003 - 06:30:12 EDT

<x-html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: "Times New Roman"
}
SPAN.emailstyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial
}
SPAN.EmailStyle19 {
        FONT-WEIGHT: normal; COLOR: maroon; FONT-STYLE: normal; FONT-FAMILY: Arial; TEXT-DECORATION: none
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=white>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff size=2>I was
strongly considering doing this myself (being a programmer too!), but as with
everything with me, thoughts and reality rarely get matched up! - Oh, and my
knowledge of 9010 scripting is very limited having only just started on it
all.</FONT></SPAN></DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff
size=2>However, the problem you talk about here (if i understood correctly) of
which driver a Pacman on Galaxian hardware would be found in, i thought was a
non-problem.</FONT></SPAN></DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff size=2>I had
envisaged the program having a UI (or James integrating it into FIDE?), whereby
the user selects the driver from a list. Then the code interrogates the last
section of the driver to present the user with a choice of games available in
that driver. From this same section, the code then knows which definitions
within that driver the game uses.</FONT></SPAN></DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff size=2>If the
user doesn't know which driver a game resides in then a simple search tool could
be provided using grep or jgrep (both of which i have free versions under
Windows - least i think they're free!), which itself greps the final section of
each of the driver files in the drivers directory - obviously defined in the
options section. A code method to do the searching would be easy enough if using
an external program is not desired.</FONT></SPAN></DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff size=2>Least
that's what i had envisioned.</FONT></SPAN></DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff size=2>A lot
of the pattern matching required to do this sort of thing is pretty simple
within .NET, and it isn't rocket science within VC6 (or VB6 / VJ6) - don't know
about non-MS tools as i have all MS tools here due to my
job.</FONT></SPAN></DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff
size=2>Anyway, just a couple of thoughts, and yes, to answer the original
question, i obviously do think it's a good idea. It doesn't really matter if the
info isn't 100% accurate, at least it saves a whole bunch of typing, and just
leaves you with editing instead :O)</FONT></SPAN></DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=585052010-16092003><FONT face=Arial color=#0000ff
size=2>Martin.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
  owner-techtoolslist@www.flippers.com
  [mailto:owner-techtoolslist@www.flippers.com] <B>On Behalf Of </B>James
  Bright<BR><B>Sent:</B> 16 September 2003 03:44<BR><B>To:</B>
  techtoolslist@www.flippers.com<BR><B>Subject:</B> RE: [techtoolslist] Work in
  progress, opinions...<BR><BR></FONT></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Arial color=maroon size=2><SPAN
  style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Arial color=maroon size=2><SPAN
  style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: Arial">Awesome&#8230;
  </SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=maroon size=2><SPAN
  style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Arial color=maroon size=2><SPAN
  style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: Arial">I have a little bit
  of work to match up the MAME ROM files to my existing data structures. The
  ontology of this is actually rather complicated. For example, how is &#8220;Pac-Man
  (Galaxian hardware)&#8221; classified? It will probably be matched to the Pac-Man
  game entry because of the name, but it&#8217;s more appropriately matched to the
  Galaxian entry because of hardware&#8230;</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=maroon size=2><SPAN
  style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Arial color=maroon size=2><SPAN
  style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: Arial">And yes, as soon as
  I get comfortable with TL/1, it will have an option to save as a TL/1 test
  stub.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=maroon size=2><SPAN
  style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Arial color=maroon size=2><SPAN
  style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: Arial">JB</SPAN></FONT></P>
  <DIV>
  <P><FONT face="Times New Roman" color=maroon size=2><SPAN
  style="FONT-SIZE: 10pt; COLOR: maroon">--James
  Bright<BR>www.QuarterArcade.com<BR>Restored </SPAN></FONT><FONT color=maroon
  size=2><SPAN style="FONT-SIZE: 10pt; COLOR: maroon">Arcade</SPAN></FONT><FONT
  color=maroon size=2><SPAN style="FONT-SIZE: 10pt; COLOR: maroon"> Games for
  your Home </SPAN></FONT></P></DIV>
  <DIV
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
  <P class=MsoNormal><FONT face=Tahoma size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original
  Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B>
  owner-techtoolslist@www.flippers.com
  [mailto:owner-techtoolslist@www.flippers.com] <B><SPAN
  style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>David Shoemaker<BR><B><SPAN
  style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, September 15, 2003 10:28
  PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B>
  techtoolslist@www.flippers.com<BR><B><SPAN
  style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [techtoolslist] Work in
  progress, opinions...</SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
  style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
  <DIV>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I like it, (though I will want the
  same utility function for the 9100 :)</SPAN></FONT></P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
  style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
  style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">And yes the 9100 keyboard wedge is
  getting close.&nbsp; I spent a wasted week trying to get a software uart to
  work so I could use the small sexy 8 pin parts for this.&nbsp; Yes I know
  EVERYONE told me to just use the 20 pin part with the uart built in.&nbsp; But
  I am stubborn, plus I didn't have the 20 pin parts on
  hand.</SPAN></FONT></P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
  style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have parts on order for the 20
  pin.&nbsp; Once I get them (later this week I expect) it's some code tweaking
  and bread boarding to finish it up.</SPAN></FONT></P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
  style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Then I will probably just release
  the works to the list, while I would really like to get a pcb made for it I
  haven't got the first idea how to start that process.&nbsp; And this thing is
  going to be dead simple to build on protoboard I
think.</SPAN></FONT></P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
  style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">David</SPAN></FONT></P></DIV>
  <BLOCKQUOTE
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; MARGIN: 5pt 0in 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
    <DIV>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----- Original Message -----
    </SPAN></FONT></P></DIV>
    <DIV style="font-color: black">
    <P class=MsoNormal style="BACKGROUND: #e4e4e4"><B><FONT face=Arial
    size=2><SPAN
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">From:</SPAN></FONT></B><FONT
    face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A
    title=james@quarterarcade.com href="mailto:james@quarterarcade.com">James
    Bright</A> </SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal><B><FONT face=Arial size=2><SPAN
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">To:</SPAN></FONT></B><FONT
    face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A
    title=techtoolslist@flippers.com
    href="mailto:techtoolslist@flippers.com">techtoolslist@flippers.com</A>
    </SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal><B><FONT face=Arial size=2><SPAN
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sent:</SPAN></FONT></B><FONT
    face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Monday,
    September 15, 2003 6:33 PM</SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal><B><FONT face=Arial size=2><SPAN
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Subject:</SPAN></FONT></B><FONT
    face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
    [techtoolslist] Work in progress, opinions...</SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
    style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
    style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Well, I&#8217;m not really working on
    boards or 9010A scripts right now because I know the 9100A keyboard
    converter is near complete (or at least I hope! :) &nbsp;So I&#8217;ve been
    playing around with something that kev and John were talking about a while
    ago.</SPAN></FONT></P>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
    style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I&#8217;ve been hacking around the
    MAME code, and I&#8217;ve got it to the point where I can walk through the data
    structures and pull out information like ROM files and addresses, and read
    &amp; write addresses. What I am thinking of building is a simple &#8220;pre-code&#8221;
    generator that will help you build a 9010A script based on this simple
    memory map. It would build the map for any of the supported MAME games (even
    if the game isn&#8217;t working; that is not what is important). It could also
    link you directly to the MAME source code for quick reference. Just
    wondering if people would find this helpful or useful. Although it would be
    a first pass, here are possible pitfalls:</SPAN></FONT></P>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
    style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">* ROM banking is frequently
    &#8220;hacked&#8221; in MAME (see Qix.c)</SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">* read/write addresses in
    software are not always read/write in hardware</SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">* I have no good way to insert
    the actual 9010A signatures right now because I would need to have all of
    the MAME ROMs (I don&#8217;t) and my programs don&#8217;t yet unzip the
    ROMs</SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">* I don&#8217;t know exactly how
    precise or accurate the memory map is in MAME</SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">* I almost guarantee mismatches
    between reality and the MAME driver :) Not that the programmers didn&#8217;t do a
    good job, but just that the software emulation might not match the actual
    hardware</SPAN></FONT></P>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
    style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">But&#8230; the good would be that you
    have something to start with given a game that you&#8217;ve never worked on (the
    memory map is usually where I start). I would also be able to add in other
    hardware information to my database (CPU, # CPUs, type, etc.) and provide a
    cross reference to other games.</SPAN></FONT></P>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
    style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Does this reference material
    sound helpful? John, is this sort of what you&#8217;d had
    envisioned?</SPAN></FONT></P>
    <P><FONT face="Times New Roman" size=2><SPAN style="FONT-SIZE: 10pt">--James
    Bright<BR>www.QuarterArcade.com<BR>Restored Arcade Games for your Home
    </SPAN></FONT></P>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
    style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></BLOCKQUOTE></DIV></DIV></BLOCKQUOTE></BODY></HTML>

</x-html>
Received on Tue Sep 16 09:21:31 2003

This archive was generated by hypermail 2.1.8 : Tue Dec 02 2003 - 18:40:54 EST