Re: [M100] MIDI with the Model T

2020-03-08 Thread Eric LK
Tom Wilson wrote:
> Some other devices, such as certain models of Sound Canvas and a
> few varieties of Yamaha XG sound models actually have a serial port
> interface built right into the machine. So you could send MIDI data to
> one of those without needing the level conversion.
>
> The only issue is that I'm not sure if or how the serial port can be set
> to the correct baud rate. MIDI runs at 31250 bps. I'm not sure how the
> T100's UART is programmed at the machine level, so that could be a
> concern.

Not sure about the MT-32 or other models but I own a Roland SC-88 and
there is a switch on the back of the unit allowing to chose between
31250 and 38400 bps.

Note that the serial connector is a mini-din and you will need a
specific cable, but Roland was kind enough to give the cable's wiring
diagram in the SC-88 owner's manual

Hiraghm wrote:
> I've been reading recent threads about someone using the cassette
> interface as a secondary display interface. I suppose maybe that
> could be used, instead, too...

The Roland serial cable uses handshake signals so you may need to
simulate that to know when the MT-32 is ready to receive the next midi
frame, as the cassette interface hack only gives you one TX line
(unless I missed something :o) ).

> So is this idea crazy? Impossible? Waste of time?

As long as you're having fun figuring it out, that's never a waste of time ;o)

Eric


Re: [M100] replacement Molex 8878 socket?

2020-03-08 Thread Brian K. White

On 3/8/20 6:45 PM, Dave Everett wrote:

On 8/03/2020 9:04 am, Brian K. White wrote:

On 3/7/20 4:42 PM, Dave Everett wrote:

On 8/03/2020 8:27 am, Brian K. White wrote:


I think you want a carrier rather than a socket then ?

As it happens, I also have over 100 carriers too, and you can have 
some no problem. But you can also get carriers 3d printed new. There 
are at least two STL files out there publicly to get carriers 3d 
printed from on-line services any time you want for about $5 each. The 
carriers are easy since they are just a chunk of plastic. The sockets 
are hard because you can't just 3d-print the pins.



I'll try printing one, thanks mate.


Dave


Here's the carrier for printing.

https://www.shapeways.com/product/QF7XZHLJV/molex-dip-28-chip-carrier-78802-0010?optionId=65447013=marketplace

Here's the STL file to get it printed somewhere else besides Shapeways.
https://www.thingiverse.com/thing:2904190/files

That's not me or my model but it looks good to me.
The carrier I designed holds a PCB not a DIP chip.

If you want to try to get it printed elsewhere, you need to know that 
you have to use SLS printing. It means laser sintered nylon powder.
Everything else is either too inaccurate or too fragile. I have no idea 
who offers SLS printing in AU. I think both Shapeways and Sculpteo ship 
world wide, but surely there must be someone closer to you. Steve Adolph 
is in Canada and we managed to find a Canadian shop for him for the 
carriers for his new REXCPM coming out soon. You might try a site called 
CraftCloud. They aggregate several print services into a single search 
site. You upload the STL file, set your location and currency, select 
the type of printing and material (SLS nylon), and they show you quotes 
from different suppliers.


But like I said in another email, you probably do want a socket also so 
that you can re-write the rom without bending the pins again to get the 
chip off the carrier. So, if you want a socket anway for reading & 
programming, it's nothing extra for me to toss in a few carriers.


And that other "Meeprom" thing I posted with a pcb is just an option. 
Kind of fancy but I like it for my Model 100/102/200's. Maybe it makes 
more sense for 100/200 etc because they have a non-standard pinout that 
the programmer does not support. A socket still doesn't work without 
also some form of wiring adapter, and at that point the test clip is 
simpler.


But for a PX-8 or a tandy model 600, since the pinout is standard, then 
as long as you don't mind using 27C256 chips and a UV eraser, it's 
simple to just plug a socket in the programmer, and you can read/write 
the rom without taking it off it's carrier.


--
bkw


Re: [M100] replacement Molex 8878 socket?

2020-03-08 Thread Dave Everett

On 8/03/2020 9:04 am, Brian K. White wrote:

On 3/7/20 4:42 PM, Dave Everett wrote:

On 8/03/2020 8:27 am, Brian K. White wrote:


I think you want a carrier rather than a socket then ?

As it happens, I also have over 100 carriers too, and you can have 
some no problem. But you can also get carriers 3d printed new. There 
are at least two STL files out there publicly to get carriers 3d 
printed from on-line services any time you want for about $5 each. The 
carriers are easy since they are just a chunk of plastic. The sockets 
are hard because you can't just 3d-print the pins.



I'll try printing one, thanks mate.


Dave



--
This email has been checked for viruses by AVG.
https://www.avg.com



Re: [M100] MIDI with the Model T

2020-03-08 Thread John R. Hogerhuis
If 30720 isn't close enough, you might be able to do it with dedicated code
in software (bitbang). But you'll need to use some other I/O pins and and a
level shifter. Steve was doing something like this with the cassette port.

A third way would be to find a UART that is capable of the baud 31250 and
interface it to the bus.

-- John.


Re: [M100] replacement Molex 8878 socket?

2020-03-08 Thread Brian K. White

Welll that was supposed to be off-list. Good thing it wasn't sensitive. :)

And the note about the short legs is good to post anyway.


On 3/8/20 6:26 PM, Brian K. White wrote:
Hi Brian, I have been looking for one of these to make a basic rom for 
my PX-8.  Would you be prepared to send one to Australia?


If so lease let me know how much you want including shipping.


Sure, send me an address and I'll find out what the shipping will be.

How about a socket and and 2 carriers with 27C256 already installed?
Or 2 sockets, one in case you ever need to repair one, and one just to 
use in a programmer?


The legs on the sockets are pretty short and they don't actually reach 
down into the ZIF socket on a programmer very well, plus the clamping 
lever gets in the way because the socket is much larger than a chip. So 
you want to take a regular dip socket and clamp that in the programmer 
first, and then stick the molex socket into that. I can toss in a 
regular socket too if you don't happen to have one.





--
bkw


Re: [M100] replacement Molex 8878 socket?

2020-03-08 Thread Brian K. White
Hi Brian, I have been looking for one of these to make a basic rom for 
my PX-8.  Would you be prepared to send one to Australia?


If so lease let me know how much you want including shipping.


Sure, send me an address and I'll find out what the shipping will be.

How about a socket and and 2 carriers with 27C256 already installed?
Or 2 sockets, one in case you ever need to repair one, and one just to 
use in a programmer?


The legs on the sockets are pretty short and they don't actually reach 
down into the ZIF socket on a programmer very well, plus the clamping 
lever gets in the way because the socket is much larger than a chip. So 
you want to take a regular dip socket and clamp that in the programmer 
first, and then stick the molex socket into that. I can toss in a 
regular socket too if you don't happen to have one.


--
bkw


Re: [M100] REX and RAM upgrades

2020-03-08 Thread John R. Hogerhuis
CO files only have a fixed location to run from. You're not trying to run
it, just transfer it from a saved RAM image.

CO files as files in the file system move around as files are created,
deleted, change in size. Just like BA files and DO files.

Now "trigger files" are a horse of a different color.

-- John.


Re: [M100] MIDI with the Model T

2020-03-08 Thread John R. Hogerhuis
On Sat, Mar 7, 2020 at 6:14 PM Alex ...  wrote:

> I tried doing this with my T102 a few years back and couldn't get the baud
> rate anywhere close to 31250. 
>
>>
>>>
What did you try? You need to set the baud rate divisor directly. You
cannot use the BASIC port OPEN string or TELCOM to set the speed.

Open the port first, then override with OUT commands or ML code.

http://bitchin100.com/wiki/index.php?title=Model_100_Serial_Interface

I guess the divisor you want to program is 153600 / 31250 = 4.9152

Closes integer divisor is therefore 5.

So,

Port $BD = 64
Port $BC = 5

Another way of looking at is, the closest you can get is 30720bps. I don't
know if that's close enough for compatibility.

-- John.


Re: [M100] Prepping for CP/M on the Model T

2020-03-08 Thread Stefano Bodrato

> is there an easy way
> discern which architecture a COM file was built for?

No.   The Z80 and the 8085 were introduced in the CP/M world as "super 8080", a 
COM file was just a binary block beginning at fixed position of 100h.
Obviously at runtime the COM program can probe the hardware and,  in example, 
refuse to run on an 8080 CPU.
Another possible thing which can be done is to look for CPU specific bytecode 
sequencies which could suggest something about the target architecture, in 
example the LDIR instruction commonly used on the Z80 and the data preparation 
is quite predictable.

Stefano


Re: [M100] replacement Molex 8878 socket?

2020-03-08 Thread Brian K. White

On 3/7/20 4:42 PM, Dave Everett wrote:

On 8/03/2020 8:27 am, Brian K. White wrote:

On 3/7/20 11:22 AM, Stephen Adolph wrote:
hi, has anyone ever come across a supplier today for the ModelT 
optrom socket, the Molex 8878?

I could use a few new ones.
thanks,
Steve


I scored a load of about 100 of them on ebay a couple years ago. I 
have been giving them to whoever needs them for any use I consider 
legitimate like that.


IE, they aren't replaceable, so, I won't just consume them for 
something dumb, but for repairs of old machines and maybe a small 
number of programming jigs or something. I gave some to a museum to 
have in inventory for repairs. If I die and still have 75 of them and 
someone else keeps them and dies with still having 60 of them, and so 
they are available for repairs for the longest time possible, and 50 
years from now there is still a box of 50 of them... that is my ideal 
goal.



Hi Brian, I have been looking for one of these to make a basic rom for 
my PX-8.  Would you be prepared to send one to Australia?


If so lease let me know how much you want including shipping.

Thanks,

Dave Everett

Sydney, NSW Australia



I said before maybe you meant the carrier not the socket, but I guess 
you would want a socket too, so that you could re-write an eprom without 
bending the chip legs again. Also for copying old original roms. No problem.


But just for the record, here is another option. I made a version of 
Teeprom that has a standard 27C256 pinout instead of the special Model 
100/102/200 pinout.


http://tandy.wiki/Meeprom  (Molex EEPROM)

It's more complicated than just putting a dip chip on a carrier, but the 
point is it has a re-writable EEPROM on it instead of a UV EPROM, and 
you can write it with a generic SOIC-28 test clip instead of the special 
Molex socket. The test clips are a bit expensive at $35, but the point 
is they are at least a generic standard replaceable thing where anyone 
can get one any time.


--
bkw


Re: [M100] REX and RAM upgrades

2020-03-08 Thread Alex ...
Maybe because of CO files' fixed memory locations and the fact that I
changed the amount of RAM in the machine?

On Sun, Mar 8, 2020, 15:10 John R. Hogerhuis  wrote:

> I wonder why CO files didn't copy. There are three kinds of files, DO, CO
> and BA. Unless Steve says otherwise I'd think the copy feature should work
> with all three. Maybe a bug.
>
>
> -- Just hj.
>
>>
>
>


Re: [M100] REX and RAM upgrades

2020-03-08 Thread John R. Hogerhuis
Phones... I didn't stroke out.

-- John.


On Sun, Mar 8, 2020, 12:09 PM John R. Hogerhuis  wrote:

> I wonder why CO files didn't copy. There are three kinds of files, DO, CO
> and BA. Unless Steve says otherwise I'd think the copy feature should work
> with all three. Maybe a bug.
>
>
> -- Just hj.
>
>>
>
>


Re: [M100] REX and RAM upgrades

2020-03-08 Thread John R. Hogerhuis
I wonder why CO files didn't copy. There are three kinds of files, DO, CO
and BA. Unless Steve says otherwise I'd think the copy feature should work
with all three. Maybe a bug.


-- Just hj.

>


Re: [M100] Prepping for CP/M on the Model T

2020-03-08 Thread Tom Dison
I use RunCpm on Linux. I also just installed in on an Adafruit Grand
Central M4 Express microcontroller. Just connect a micro-USB connector and
use a terminal program like Putty at 9600. It uses a MicroSD card so I can
just copy apps to the SD card.

On Sun, Mar 8, 2020 at 13:01 r cs  wrote:

> I'm excited about the prospect of CP/M coming to the Model T.  Short of
> rebuilding everything one cares about for 8080, is there an easy way
> discern which architecture a COM file was built for?  Anyone have good luck
> with any particular CP/M-80 emulator for the 8080 on Linux?
>
> Regards,
> rcs
>
>
> --
> *Níl aon tinteán mar do thinteán féin. *[Irish Gaelic]
> (There is no fireside like your own fireside.)
>
>
> --
Faith without Works is Dead...


[M100] Prepping for CP/M on the Model T

2020-03-08 Thread r cs
I'm excited about the prospect of CP/M coming to the Model T.  Short of
rebuilding everything one cares about for 8080, is there an easy way
discern which architecture a COM file was built for?  Anyone have good luck
with any particular CP/M-80 emulator for the 8080 on Linux?

Regards,
rcs

-- 
*Níl aon tinteán mar do thinteán féin. *[Irish Gaelic]
(There is no fireside like your own fireside.)


[M100] Charger mod for M102 (if any) and other NiCd / NiMH questions...

2020-03-08 Thread Anthony Coghlan
Happy weekend, everyone.

I recently did the charger modification for my M200 (opening machine /
soldering couple of jump wires in place / reassembling - not a bad
procedure at all), and it seems to be working fine.  I'm wondering if NiMH
batteries would work in it also or if there is a risk that they might
either fail to charge or overcharge and get damaged.  It would be nice to
have the higher charge storage capacity, but currently I've got 1000 mAh
NiCd cells installed.

Also wondering if there is a charger modification for the M102.  I have
done the one for my M100 (adding a small resistor per the procedure
described in Bitchin100.com,
http://bitchin100.com/wiki/index.php?title=A_Simple_Self-Charger_for_the_Model_100
).

Best wishes and thanks,
Anthony


Re: [M100] Option Rom File Formats

2020-03-08 Thread Stephen Adolph
all the REX ROM images are available at the REX Wiki,

http://bitchin100.com/wiki/index.php?title=REX


On Sun, Mar 8, 2020 at 11:31 AM Jason Benson 
wrote:

> Thanks!
>
> On Sat, Mar 7, 2020 at 11:32 PM Willard Goosey  wrote:
>
>> yes .hex is the wrong format. you have to turn them back into raw
>> binaries with a hex2bin.
>>
>> also http://bitchin100.com/wiki/images/6/63/M100_OPTION_ROMS.zip has
>> most of the roms all ready to for REX.  (about the only useful rom not
>> there is crdfil.rom)
>>
>> hoot, guardian etch, and logit are weird, undocumented, require special
>> equipment, or some combination...
>>
>>
>> Willard
>> Sent from my Galaxy Tab® A
>>
>


Re: [M100] Option Rom File Formats

2020-03-08 Thread Jason Benson
Thanks!

On Sat, Mar 7, 2020 at 11:32 PM Willard Goosey  wrote:

> yes .hex is the wrong format. you have to turn them back into raw binaries
> with a hex2bin.
>
> also http://bitchin100.com/wiki/images/6/63/M100_OPTION_ROMS.zip has most
> of the roms all ready to for REX.  (about the only useful rom not there is
> crdfil.rom)
>
> hoot, guardian etch, and logit are weird, undocumented, require special
> equipment, or some combination...
>
>
> Willard
> Sent from my Galaxy Tab® A
>