Please enable JavaScript to display the menu.
FM-7 / FM-TOWNS Restoration Project

ysflight.com

2018/12/03

Updated FM-7/77 series resurrection utility.

2018/11/17

FM77AV/AV20/AV40 Wireless Keyboard Emulator Update

Released Windows XP 32bit binary, and added Auto-Typing function.

2018/11/12

Demosplash 2018 Results

Demosplash 2018 is finally over.  I was preparing so hard for this event.  It is one of the two events that I can showcase my collection of FM series computers.  I have also submitted two programs to Demo Compo competition.

In the Demo Compo competition, my program lost just by one point to the first-place winner, a very impressive Apple II demo.  That demo was truely impressive.  I'll need to get back to the first place next year.

I am very worried about the recent trend of programming.  It is incrementally getting more and more difficult for an individual developer to publish a program.  The whole industry is hostile to such individuals.  If I want to publish a program, the developer feels a pressure to swear allegiance to a big guy.

Sorry, I only swear my loyalty to FM-7 and FM TOWNS.  No thanks.

In this circumstance, Demoscene is a very valuable and important place for an individual and small-group developers to publish a work.

I set up my FM-7, FM77AV, FM77AV40, FM TOWNS 2F, and FM TOWNS 2MX in the Retro Gaming room.  I was claiming a Fujitsu territory in one corner of the room.  By the way, next to the Fujitsu territory was territories for MSX2 and X68000 owned by CMU Computer Club.

You can download my submission that won the second place in the Demo Compo competition below.

[The Golden Age of Fujitsu Micro]

If you cannot run it on an emulator or an actual FM TOWNS, you can watch a YouTube video.

And, this is a link to the pouet entry.

I was crazy enough to write another one for FM-7 series.  This time I used FM77AV40 for screening.  Last time I used FM-7, and it took a few minutes to load via the audio-cassette interface.  This time I was able to boot from a floppy disk, and it was quicker.

You can download the program below:

[SONATA for Two 6809s]

Or, you can watch a YouTube video.

And, this is a link to the pouet entry.

This time Demosplash used 2nd floor of the University Center of Carnegie Mellon University.  The Retro Gaming Room was immediately next to the Demo-screening room.  It was very convenient.

 

2018/10/18

Submitted to Demosplash 2018

I have submitted my demos to Demosplash 2018.  One for FM-7 and one for FM TOWNS.  My goal is to write at least one demo for FM-7 series computer and one for FM TOWNS series computer every year.

When uploading, it was recommended to include a demo video with the package.  I first was thinking to use a VGA to video adapter and a video capture unit.  So I ordered VGA to video adapter and a USB video capture device from Amazon.

However, I've got a problem.  When I used those devices independently, both worked fine.  If I connect my laptop's VGA port to VGA to video adapter to my TV, I saw my ThinkPad X250 screen on my TV.  If I connect my cable-TV set top box to my GV-USB2, I was able to capture video.  However, if I connect my FM TOWNS to VGA-to-video adapter to GV-USB2, I didn't see any image on my video-capture software.  I trust IO DATA.  I suspected the VGA-to-video adapter's signal was somewhat unstable.

I then realized Video Card III came with my FM TOWNS 2MX that I accidentally outbid in Yahoo Auction.  If I run my demo in 15KHz mode, Video Card III was supposed to output a video signal.  I should be able to connect my SVideo cable to the connector of Video Card III....  That was not so easy.  Video Card III had 6-pin mini DIN connectors.  SVideo uses 4-pin mini DIN.  Turned out Video Card III's connector was proprietary.  However, like a miracle, I found its pin assignments here!  I ordered connectors from DigiKey.  I am not particularly good at soldering.  I destroyed the first connector.  But, I ordered some to be ready for the failure.  The second connector I was able to solder fine, and worked for a while, but soon stopped working.  I disassembled again and realized my soldering was not adequate.  One cable was detached.  I repaired it, and made another one just in case.  Then I finally was able to record the video today.

Recording from FM-7 was more of a problem, but I already had JP 21-pin SCART to HDMI converter.  I ordered a HDMI to SVideo/RCA converter.  Actually it arrived while I was preparing the FM TOWNS demo package.  I was able to finish recording FM-7 demo on my FM77AV.  Encoded to MP4, added to the ZIP package, and submitted.

Demosplash 2018 will be November 2 and 3 U.S. Eastern Daylight time.  Friday from 1600 and Saturday from 1200 noon.  The event will be broadcasted over the Internet.

My next big release will be a next stable version of YSFLIGHT.  Apple made it complicated, but macOS version finally passed all batch tests yesterday.  I also fixed support for some additional MOD packages.  Hopefully I can make a release by the end of October.

2018/09/16

FM TOWNS Resurrection Project: Creating an Emergency GUI Boot Floppy Disk with English Localization

 

2018/09/15

FM TOWNS Resurrection Project: Writing a 1.23MB formatted floppy image back to an actual floppy disk in Windows 10

 

2018/09/10

How to bug-fix and build an external SCSI CD driver "CDSD.SYS" for Towns OS

There seems to be more than handful of FM TOWNS are kept in working condition.  But, many of them are suffering from unstable internal CD drive.  An internal CD drive was what characterized and differentiated FM TOWNS from other PCs.  FM TOWNS was the very first computer that equipped a CD drive as a standard device.  It was not an option.  All FM TOWNS came with a CD drive.  Therefore, although you still have an option to boot FM TOWNS from a SCSI HD emulator like SCSI2SD, not having a CD drive is very sad condition for a FM TOWNS.

However, miraculously there are two MS-DOS drivers CDSD.SYS and CDISC2.SYS, which substitutes an external SCSI CD drive to the internal CD drive.  But, CDSD.SYS binary is documented as a commercial software, and you cannot download from anywhere.  And, there is no place you can buy it any more.  In addition, the latest version has two bugs that prevents CDSD.SYS from running on Towns OS (although it is advertised to work with Towns.)

 I fixed the bug.  I made a work flow to build a binary from the source.  So I made it public.  I have confirmed it to work with actual FM TOWNS 2MX.

Keep FM-TOWNS alive until the last day of the universe!

2018/03/09

Retro Gaming Night 2018

Last Saturday, CMU Computer Club held an event "Retro Gaming Night".  I put my FM77AV, FM77AV40, and FM-TOWNS on display.  FM-7 is still being repaired.  I ran some programs I salvaged by my disk2tape utility plus Plazma Line.

Maybe because of its simplicity, many visitors enjoyed playing Plazma Line, though nobody (including myself) couldn't go beyond Stage 2.  I explained that this title most likely was the very first title that used polygon-based 3D rendering.  So far I haven't found anyone who knew any other title for a consumer PC that used polygon-based 3D rendering before December 1984.

I kept a racing game called VSGP on FM-TOWNS.  I thought it was a simple racing game that everyone could enjoy.

My keyboard emulator worked perfectly.  There was no problem in playing Plazma Line with the keyboard emulator.

When I bought FM77AV and FM77AV40 this December I was not expecting I could restore these two to this level.  It was nice to put some Fujitsu computers on display in this event.




2018/02/25

Restoring Plazma Line for FM-7/77

I have purchased a game title called "PLAZMA LINE" from SURUGAYA, which has arrived here thanks to tenso.com.  I wanted this title when I was a junior high student.  But, due to limited money I had to give up.  Like Gandhara, this Plazma Line was a rare title despite its high quality.

This title was available in a floppy disk or a cassette tape.  But I never found a disk version available in an auction site.  The version I got this time was a tape version.

The audio cassette degrades faster than floppy disks.  A tape may physically be strained.  Or, it can easily de-magnetized.  Worse a length of tape are touching each other and magnetize each other over time.  I need to make an image that can last longer.  The process I was thinking was (1) hook the end of the loader to my program and dump the main memory to the disk, and then (2) get a disk image from which the memory image is extracted, and finally (3) write my own loader.  I did similar thing several times before.  I once disk-nized a tape version program called "Dragon Slayer".  In that time, it didn't fit in a shadow RAM of FM-7, so I had to use FM77AV's expanded memory space, and ended up making a tape-version "Dragon Slayer" for FM-7 turned into disk-version "Dragon Slayer" that works on FM77AV series only.

Also this time I auctioned a cassette data recorder from Yahoo! auction so that I can restore a rare tape-version title whenever I get hold of.  A data recorder had arrived about the same time as "Plazma Line".  I have already written a memory-dump program.  All I needed to do was to look into the loader and modify the right place so that the program calls my memory dumper when the program is ready to start. 

But, the things don't go as planned, as always.  The data recorder looked healthy.  The motor spins.  But no tone.  No tone from the speaker when I press the "monitor" button, nor nothing from the audio out.  I opened the lid to see an obvious sign of loose connection or cracked solder joints, but I didn't see anything obvious.  It didn't give a tone for an unknown reason.  I'm a programmer.  Not a hardware person.  There is virtually no chance that I am able to repair electronics.

Go Plan B.

I didn't have plan B.  But I had to come up with a solution.  I'm a programmer.  I fix it by C++.  C++ is always my plan B if not plan A.

I knew my audio cassette tape recorder didn't give a good signal.  But, anyway I recorded the Plazma Line tape to a .WAV file.  I recorded as stereo .WAV and compared left and right.  Right channel looked to have better distinctive waves.  I dropped the left channel.  There is a utility called WAV2T77 from Mr. Apollo's site.  If I am able to fix the .WAV file good enough for WAV2T77, I should be able to read it in the emulator, and make a disk image which will be written to a physical disk.

I started writing a very user-unfriendly WAV editor.


Wave pattern from the audio cassette recorder.  The height of the waves are going up and down and inconsistent.

As you can see, the output from the audio cassette recorder seems to be giving a correct wave lengths, but the peaks are going up and down and inconsistent.  Highs must be at the same level, so does lows.

Luckily I have written a library for reading and writing .WAV files already.  I didn't have to start from .WAV encoder and decoder.  I somehow need to transform the wave so that the peaks have the same height.  To do so, I need to calculate an envelope that encloses highs and lows and scale each sample so that the envelope is stretched from -30000 to 30000.  (For 16-bit samples)

I didn't want to stretch white noise part between files.  It was easy to visually find the area of white noise, and I saw three files in the audio sample.  White noise segments were at front, back, and in between files.  Only four segments.  So, I manually selected the area and zeroed the segments.


White-noise segments are easily visible. 


Zeroed white-noise segments.

The next problem was correctly identifying tops and bottoms.  Due to sampling noise, there are virtual peaks where there shouldn't.  What to do this situation?  MEDIAN FILTER!  Always the median filter is a solution for a noise problem.  To some level.  Another good thing about the median filter is it is so easy to implement.  You can do it in five minutes.

Applying median filter several times visibly reduced the noises.  The envelope could be calculated by connecting neighboring tops and bottoms.  For the first cut, I just used piecewise linear envelope, and expanded.  With this filtering, WAV2T77 gave me a .T77 file from which I could load the first BASIC program.  However, the second program, the real loader could not be loaded with Device I/O Error.


Before median filter.


After median filter.

For this problem, I knew there was a spike in the second program segment.  It was clearly visible.  I suspected this spike was causing the error.  But, strange thing was that the program was saved on both sides A and B, and I had spike from the both side samples.  It may not be the cause.  But anyway I repaired the wave pattern there.


Spike (no longer looks like a spike after scaled and clamped, but it was really a spike)

At 44KHz sampling, the 1 bit must be about 40 to 45 samples wide, and 0 bit must be about 20 samples wide.  This wave is stretched to 65 samples.  I deleted excess samples and fixed the wave pattern manually.

Still I had device I/O error.

Then I needed to positively identify broken bytes.  FM-7 tape data stores a byte as a 11-bit wave.  It must look like

0xxxxxxxx11

A byte starts with a 0 (short) wave, followed by 8 waves, and terminated by a two 1 (long) waves.  If it is broken and a byte is not starting with 0, not terminating with two 1s, or has a wave that the length is not match 0 or 1, it could cause Device I/O Error.

Also the file starts with a sequence of 0xFFs.  I can find a start of a file by searching for a bunch of 0xFFs. 

I wrote a function that extracts a wave, identifies 0, 1, or neither, and reads 11 bits when 0 is found, and check if the byte is broken.  I have checked the second file.  It consists of two blocks.  The first header block was ok.  The tape motor stops a fraction of a second, so there is a gap.  The second block following the gap was also ok.  Why was I getting Device I/O Error?  Maybe a check sum?

I couldn't tell, but it didn't matter because the integrity checker also gave me a dump of the first file.  I could make a brand new tape image from the dump anyway.  Disassembly of the dump told that the program was read to 0x7C00.  It sets 0x8000 to S (stack) register.  Reads the image from the third file in the tape into 0x0000 to 0x7BFF (I am wondering if it was 0x7C02), then jump to 0x0000.

So, I made a .T77 tape image for the third-file segment and tried to load by the extracted loader.

Still no luck.  XM7's debugger told that the loader seems to be reading a meaningful file for the first a few bytes.

CLRA
TFR    A,DP
LDS    #$FC80
JMP    $362B

But, the disassembly from 0x362B appeared meaningless.

Going back to .WAV.  I used the same function to check the integrity of the third file segment of the .WAV.  Turned out there are many bytes that the last 11 was stretched just a tiny length.  Actually either first low hump or the next high hump is stretched, and the other hump was shorter.  So, as a whole it was giving a correct wave length.  I manually replaced those waves with a sine wave.  Also I found bunch of spikes.  Looks like the median filter could not take all of the tiny bumps.

After fixing 100 waves or so, it was the time to go to a bowling league.  The results were 183, 211, 181.  Not bad considering an extremely dry oil condition of the lanes.  The Saturday league is nothing serious.  There are a few serious bowlers like me, but the rest are just recreational.  The bowling alley doesn't seem to be serious either.  The oil condition is inconsistent every week, and always dry.  The dry condition is good for muscle bowlers who can throw very fast ball.  I don't have a speed ball.  The oil condition is nothing favor for me.  Since my strong balls hooks too much, I am forced to use weak balls that don't give as many strikes as strong balls.  You need to be a fast bowler with a strong ball, or have a professional-like precision to throw a weak ball to an exact pocket.  I closed all the frames in the third game, but I didn't reach 200.  I also bowl on Thursdays in Playmor, which is more serious sanctioned league.  There they flood the lane with the oil.  I can use a strong ball and more commonly getting 200 games.

On the way back, I was thinking what to do with the .WAV file.  I didn't seem to be able to manually fix all the spikes.  There are too many.  Also stretched 1 bits, maybe I should relax the condition to validate a wave.  Instead of checking the lengths of the low hump and high hump separately, I should only check the total length.

To remove noises leftover from the median filter, I needed to specify a good threshold.  I made a list of height changes from neighboring top and bottom pairs, and sorted in the ascending order, and then flipped through by a key stroke.  Height difference like 1500 looked to be a good threshold.  It starts picking a real wave at 8000 or so.  I deleted the falsely-identified peaks by the threshold of 1500.


A spike caused by the falsely-identified peaks.


The cause was a wrong envelope (gray) from the false peaks.


Envelope after deleting peaks with the threshold.


Final waves.  No spike.

Also I changed linear interpolation to cosine interpolation so that the envelope becomes smoother.

Then I searched for the longest and shortest waves.  Surprisingly, there was only one irregular (long) wave that is out of bound to be either 0 or 1.  Somehow top and bottom of that particular wave was missed.


The raw recording near the irregular wave.  One wave didn't have peaks.


Stretched.


Manually fixed.

Obviously, the last half of a long wave is blended with the following short wave.  I could easily select the regions for the long and short waves and replaced with two sine waves.  After this repair, all waves could be classified into 1 or 0.

Then I checked for the integrity, and all bytes passed!  Actually I was able to extract 0x7C04 bytes.  I tried to convert this WAV to T77 with WAV2T77, but failed to load.  Rather, I decided to go with my dump.  I could see ASCII strings like "COURSE" and "GAME OVER" and other human-readable words in the dump.  I was hopeful that the dump was correct.

I knew the first a few bytes that should be written from 0x0000.  It should start with CLRA.  But, the dump had an extra 0 at the beginning.  So, I deleted the first byte of the dump and split into two for 0x0000-0x3FFF and 0x4000-0x7C02.  I wrote a 6809 code that transfers those bytes to the shadow RAM.  Then, another code that transfers those bytes from the hidden RAM to 0x0000-0x7C02, and JMP to 0x0000.  The first attempt failed due to my error in the assembly (I used BNE where I should have used BCS).  But, in the second attempt, Plazma Line started in the emulator!

I've just played the first stage, but it worked fine.

It was released in 1980s.  Just 32KB to achieve interactive 3D polygon rendering in an 8-bit computer.  Very impressive.  That time, there existed extremely skilled programmers.  Am I at their level now?  I don't know, but all I can do is keep programming, and hope to transfer some of those knowledge and skill to the next-generation programmers.

I am very happy to be able to restore Plazma Line with my C++ programming.

I have also confirmed it runs on the actual FM77AV.

 

2018/02/19

Gandhara

I got a very rare title for FM77AV called "Gandhara" (ENIX) from Yahoo! Auction.  Actually I didn't know Gandhara was ported to FM77AV then.  Well, I was not too much interested in playing it, but I just wanted to preserve a rare title.  There was no competition in the auction, and thanks to buyee.com, it crossed the pacific ocean.

When I first inspected the disk, I saw some areas of discoloration.  I was worried about the mold.  But, it just was a piece of dust.  After rotating the disk one round, the discoloration was gone.

I had no intention of playing it through on the actual FM77AV.  I need to save running time to keep it alive as long as possible.  Also, I didn't want to use this disk in the drive too often.  The disk head touches the magnetic media in the floppy disk drive.  The floppy disk eventually is ground off by the head.  Rather I wanted to make it a disk image that can be used in the emulator.  But, to make a disk image in the format that the FM7/77AV emulator can recognize, I needed a DOS PC with an internal floppy disk drive.  USB drive doesn't work.  I don't have such a PC any more ..... 

I found it!  Actually a TOSHIBA Dynabook 2002 model was mothballed in the CMU lab.  My wife bought this laptop before coming to the U.S. for her Ph.D.  This one was heavy and bulky, but it does have an internal floppy drive.  Luckily I also had a Windows-98 boot floppy for installation, but it must be pretty much the same as a DOS.  Also I had a DrDOS floppy that came with an ABit motherboard BIOS flash utility.

The battery was completely drained.  I connected the power, and pressed the power button.  It starts!  And then I was able to boot into Windows 98 command prompt.  Then copied DITT.EXE to the RAM drive, and executed it.

Nothing happened.

DITT.EXE just froze.  I also boot into DrDOS, but the result was the same.  DITT.EXE just froze.  Then I remembered there was a utility that runs on Windows XP.  It took several minutes before I found a password for this Windows XP.  But, I installed NDitt and tried.

Success!!  NDitt created a floppy image of Gandhara A and B disks.  The advantage of the .D77 format is it can simulate sectors with CRC errors.  Some copy protection checks if a specific sector is causing a CRC error.  Raw disk images like an image from dd command cannot do it, and you'll need to reverse engineer and modify code to un-copy-protect the title.  But, with D77, theoretically you don't have to.


Title


Playing

I wanted to play through and confirm that the image is correctly created.  But, I don't seem to have time during the semester. 

Instead, I tested NDITT.EXE with some other miraculously-remaining floppy disks for FM77/77AV.  Well, the results were not so good.  NDitt doesn't seem to be able to read contents of sectors that give CRC error.  Some titles like Xanadu checks the contents of F7 sector which is giving CRC error.  So, NDitt may not be good for some types of copy protections.

Anyway, it is good to have at least one environment that I can run NDitt.  I need to take good care of this guy.  If the hard drive dies, it may be difficult to find a replacement IDE drive at this time.  Also, the internal CD-ROM drive is already dead.  I'll need to start with replacing the internal CD-ROM drive.

2018/02/14

Confirmed the second drive of my FM77AV40 is also fully functional

A floppy-disk drive head cleaner, manufactured by Sanwa Supply corporation, has arrived from Japan yesterday.  I have applied it to the second drive of my FM77AV40.  When the computer arrived, a floppy disk seems to have been sitting in the second drive for more than 30 years.  I could see the stamp of the head on the magnetic sheet of the disk.  I suspected that the head would have been contaminated by the 30 years of contact with the sheet.  So, I decided not to use it until I clean it, and was waiting for the head cleaner.

I could have ordered a floppy-disk drive head cleaner manufactured in the United States, but I have great faith in Sanwa Supply.  I waited for a cleaner from this company.  Actually it was sold in U.S. Amazon.com.  Many sellers from Japan recently sells stuffs on U.S. Amazon.  It is very convenient.  I had a little worry about if it was really new.  I didn't want to use a used cleaner, which could already be dirty from previous use.  But, I have received a new cleaner as advertised.  Of course, this cleaner is no longer in production.  This one must be left over from a stock somewhere.  Probably young people don't even know about such a product existed.

I was expecting that the drive was not in too bad a shape since the overall condition of my FM77AV40 was very nice.  After applying the cleaner once, the second drive worked flawlessly.  Now I have two of FM77AV series computers in my hand.  It will be on the spotlight only twice a year, but I'll keep them alive as long as they want.

By the way, I tried to use my IRToy-based keyboard emulator while cleaning it, but the program didn't work this time.  Turned out I was not initializing repeat-timer, and the program was not sending anything to IRToy.  The issue was fixed and updates have been uploaded.

 

2018/01/31

Updated FM77AV/AV40 Wireless Keyboard Emulator and FM-7/77 series resurrection utility.

2018/01/24

Release FM77AV/AV40 Wireless Keyboard Emulator!

2018/01/14

Release FM-7/77 series resurrection utility.

2018/01/05

FM77AV40 crossed the Pacific

FM77AV40, which is an upgraded version of FM-7, that I auctioned from Yahoo! Auction, has arrived.  I already have RGB21->HDMI converter, but in my office I only have a monitor that takes VGA and DVI.  I need to wait a few more days until HDMI to VGA converter arrive to see the image.

By the way, this RGB21->HDMI converter.

Even without an image, I could test so far:

  1. It turns on.
  2. Wait for several seconds, and then press INS key to see INS LED turns on.  By doing it I know that CPUs are working because INS LED is controlled by the CPU.
  3. BEEP command to hear a beep from audio out of RGB21->HDMI converter.
  4. PLAY command to test PSG.
  5. Feeding a program into the computer by the data-recorder cable that I fabricated.
  6. After sand-papering on the rusted battery connecter, keyboard infra-red connection works.
  7. Line out connector.

I could do all these without a monitor.  This FM77AV40 came in the original box, although the box is beat up.  I guessed that the original owner was taking a very good care of the computer. Only one disappointing thing was that the floppy disk was kept in for over years, probably almost three decades.  The disk is already mechanically dead.  Center metal part and the magnetic film severed.  I can clearly see the stamp of the disk head on the film.  I don't think the head is healthy after kept contact with the film for this long time.  Nonetheless, if the main drive works, I can do many things with this guy.  Main purposes will be the Retro Gaming Night and Demosplash.  So, as long as the tape interface works, it can do most of its duty.

By the way, FM77AV series use RGB21 connector for monitor output.  RGB21 connector has the same shape as Euro SCART connector.  However, the pin assignments are totally different, and connecting a RGB21 device and Euro SCART device might in the worst case fry devices.  On top of it, the cable looks to be a cross-connection.  According to Apollo, who is extremely knowledgeable about FM-7 series, even-number pin and odd-number pins among pin 1 through 10 need to be cross-connected.

Since I knew about this information, I tested a SCART cable I purchased from U.S. Amazon.com before actually using it.  It was indeed a cross-connection, but based on the Euro SCART pin assignments.  My test indicated the pins of this cable were connected as follows.


Connection of a SCART cable from U.S. Amazon.com. Not good for FM77AV.  By the way should pins 17 and 18 crossed?

I don't know if pins 17 and 18 also need to be crossed, but it was crossed when it arrived.  On the other hand, a correct RGB21 cable must cross connections as follows.


JP RGB21 cable connections.

Even-number pin and odd-number pin of pins 1 through 10 need to be crossed.  I had no plan on getting a Euro SCART device.  I disassembled and re-connected the pins for JP RGB21.

2017/12/16

FM-7 surgery didn't go well.

To solve the VRAM Blue Plane bit7 problem, I asked for help from the CMU computer club.  But, the surgery didn't go well, and now I cannot read letters on the screen.

During the test after the surgery, the system didn't start and smoke came out from the board.  I once gave up hope.  But, the surgeon quickly found the location of short, and he recovered the system so that at least the CPU can start and run.

But, something related to the display got burnt.  Now bit6 of all planes seems to be on (which used to be bit7 of blue plane.)  Also the letter seems to be smeared laterally and cannot read.

However, the surgeon and other computer-club guys still have hope.  They guess that one of the LS244 chips got burnt, and probably the custom chip is most likely saved.  If so, they can replace LS244 chips and should be usable again.  They are going to perform another inspection and surgery in January.

.... I'm tempted to get one FM-7 unit from Yahoo auction.

Actually I already purchased a FM-77AV40 from Yahoo auction, which should arrive early January.  The seller says at least it turns on, but he didn't have a skill to do further checks.  If the unit is damaged, it is still good because it comes with a keyboard, which is hard to find.  I am determined to get one working FM-77AV unit here.

2017/12/09

Carnegie Mellon University (CMU) is famous for the Number-1 Ranked School of Computer Science (SCS).  (I am working for the Department of Mechanical Engineering, by the way.)  The Computer Club of CMU has members who are studying in SCS, and therefore their skill level is very high.  Undergrad students write assembly code like their native language.  They can fix minor hardware problem easily by a soldering iron.  I'm mostly a software person.  To me, their soldering-iron technique looks like a magic.  If I knew about the Computer Club, I would have shipped my FM-77AV from my home instead of letting my parents throw away!

But, last summer, I found my old FM-TOWNS and FM-7 were still sitting in my parents home in Japan.  I shipped them here.  FM-TOWNS works almost perfectly except that sometimes the CD-ROM drive closure is not detected.  Probably a switch for detecting the CD-ROM drive lid is closed

So I talked about it to my friends in the CMU Computer Club, and they asked me if I was interested in giving a talk about FM computers in this year's DemoSplash.  I always like to give a talk, so I agreed.  That was a fun talk to make.  I enjoyed it.  Actually I was hooked with the retro programming, and wrote a demo for FM-7, and ended up winning the first place in the retro category in the Demo competition in DemoSplash.  That part I wrote in here.

This FM-7 was one of my few friends while I was a bullying victim.  Then the bullying was not recognized as a problem therefore pretty much I had no help.  I was victimized every day.  Thinking back, I don't know why I didn't kill myself in that torturous days.  This FM-TOWNS was my comrade who fought against the evil empire of PC-9801.  I knew interactive 3D graphics was going to become the next major thing in the computing.  Japanese most popular PC called PC-9801 was too low performance for the next paradigm of multi-media computing.  (I personally was not so interested in watching movies on the computers, but I was interested more in interactive 3D graphics.)  Unless somehow PC-9801 gave way to FM-TOWNS, the culture of Japanese computers was not going to survive into the 21st century.  Well, we couldn't win the battle, and Japanese computers which were making a unique evolution were gone.

So, when I started FM-7 and FM-TOWNS, I really felt like I met with very old friends.  I will keep these FM-7 and FM-TOWNS alive as long as these guys want to.  There are at least two events that these guys can shine.  Retro-gaming night and Demosplash.  I'll run these guys next to X68000 owned by the computer club.

SCSI2SD

A friend lent me a device called SCSI2SD.  He was not using it, so I can keep it for a while, until he needs it.  This device emulates a SCSI hard drive.  Probably young people don't know about a SCSI hard drive.  It used to be a standard for an external hard drive, until USB drive became common.  Anyway, this device should be recognized as a hard drive from my FM-TOWNS.

Actually this was very nice because the CD-ROM drive of FM-TOWNS may go bad any time.  It already sometimes didn't sense the lid closure.  By booting from SCSI2SD, I can reduce usage of the CD-ROM drive, and extend the life of it.  Also the game I want to run during the Retro Gaming Night, VSGP, can be installed on the hard drive.  So, I won't need the CD-ROM at all.

Well, it would be nice to run my own programs for FM-TOWNS, but most of the games are 3D shooting / flight simulator, which are not suitable for a casual gaming.

But, the problem was cables.  SCSI cables were numerous before, but I didn't have any more.  I ordered one from Amazon.com.  The next cable problem was how to connect the SCSI2SD connector, which was for internal connection, to the external cable.  I had tough time to find an SCSI hard-drive enclosure.  But, I found one in eBay!  It would be nice to fabricate a enclosure using this cable, but probably it's ok to use it exposed.

To use SCSI2SD, you first need to set up the device.  You can go to SCSI2SD web site and download the set-up program.  You plug the device by USB to a PC with no SCSI cable attached, no SD card inserted.  Then you specify the hard drive specification.  FM-TOWNS was from the days hard drives were measured by megabytes.  Not even gigabytes.  Also maximum partition size was 127MB.  Can you believe it?  It doesn't even store a movie.  So, no matter how large your SD card is, it's a good idea to keep it small.  I remembered I could use at least 512MB hard drive.  I made it 512MB.  Also FM-TOWNS cannot boot from the hard drive of SCSI-ID #0.  It is because if something happens to the internal hard drive, the system may not become bootable unless the internal drive is disconnected.  (Fujitsu didn't want to let the user touch inside.)  So I configured the SCSI ID to be 1.  Actually that time external hard drives were more in common, and we easily booted from an external hard drive.  When I switched to a DOS PC, I was surprised how inconvenient it was.  Do I have to open up the computer and replace a hard drive to boot a different operating system?  Give me a break!

SCSI2SD_SETTINGS
SCSI2SD configuration

Then I unplugged it from the PC, inserted 16GB micro SD, connected to my FM-TOWNS via two cables, and turned on.  Wow!  It is recognized as a hard drive!

SCSI2SD
Connection.


Yes!  It is recognized as a hard drive!


Setting up partitions.


And assigning drive letters.

TOWNSOS
Installing Towns OS.  The iPhone5S box is for storing SCSI2SD.

SCSI2SD is powered from the SCSI cable at least with this FM-TOWNS.  I don't need an external power.

 

FM-7

I am having tough time typing this paragraph.  Microsoft products quickly became too slow too buggy after .NET and C# were introduced.  Look at Microsoft Word.  Aagh!  Once it was a professional tool, now it's like a toy.  Visual Studio!  Too slow, too slow, toooooo slow!!!!!  I have no business with Visual Studio, but I cannot avoid when I am answering questions from students.  So frustrating.  Don't get me wrong.  Visual C++ is an excellent compiler.  I love it.  But, .NET framework should be terminated.  A lesser copy of C++, called C#, should be gone.

After struggling a few minutes, I manually corrected broken HTML, and seems to be able to type again.  I corrected formatting of the above paragraph.  I started using Front Page 2000, so I am using Expression Web, but I am feeling maybe I should start just manually typing HTML.

What I want to say here is testing FM-7, at least making sure the CPUs are working, is easy.  I say CPUs.  It has two CPUs.  It's an 8-bit computer from 1982, but it was already doing multi-core.  Isn't it amazing?  First test is, (1) Turn it on (if it comes with a disk drive, make sure the drive is empty), (2) Press "INS" key and see if the INS LED comes on.  (3)  Then press "INS" key again and see if the INS LED is off.

The INS LED is controlled from the SUB CPU.  Unless SUB-CPU is running, you won't see INS LED turning on/off with the INS key stroke.

Then, type:

BEEP

and enter.  You must see a beep if the main CPU is running.

Then, type:

PLAY "CDEFGAB"

and enter.  You will hear a nice greeting tone from the PSG.  By the way, if your DIP switches are set for DOS mode, F-BASIC interpreter won't start.  Make sure your DIP switches are set correctly.

My FM-7 randomly started or didn't start.  But, CPU looked healthy.  Next problem was how to show the picture?  FM-7 output was digital RGB.  There's no cable avaiable, at least no new cables.  A schematic of the cable for drawing RCA video signal from green-monitor connector is available in here.  But, if possible, I want to have a color image.  Then, I found a cable!  Digital RGB to VGA cable was available from here!

A cable for connecting FM-7 digital RGB out to 15KHz VGA monitor.

Even better, they ship to the U.S.  I placed an order.  But, another problem is the frequency.  The output is 15KHz.  Virtually no new LCD monitors supports this frequency.  Scan converters called XRGB series can up-convert the signal, but pricy.  Then, I found an affordable one in Amazon.

15KHz to higher frequency up-scan converter for $89

I didn't know if it was going to work.  I placed an order anyway.  And, it worked!  It only accepts 15KHz signal.  It is not good for 24KHz signal.  It doesn't pass-through higher-frequency signals either.  But, it does the minimum required job. 

The white box is the scan converter.

OK.  Then, the next problem was how to feed the program into the computer.  There's no floppy-disk controller extension card.  Only interface available was the data-recorder interface.  We used an audio-cassette to save/load programs and data back in 1982.  I fabricated a cable based on the information here, and used my 2008 MacBook Pro as a data recorder, and succeeded in loading and saving programs.

Data-recorder connector pin assignments.

I never imagined I could write a program for FM-7 and run on the actual machine.  It's so fun.  I was using this computer when I was a fifth grader.  I was too young to know mathematics and programming concepts.  I have a nicer text editors.  Version-controlling systems.  Assembling for 6809 CPU is brazing fast on Windows. 

FM-7のクリーンアップとコンデンサ交換

This FM-7 looked almost healthy, but there was one problem.  I see blue vertical lines every 8 pixels.  Reading back from VRAM, I figured that almost all bit7 of blue-plane VRAM were on.  I suspected it was because of the hardware modification done on the motherboard.

I asked help to CMU Computer Club to help cleaning the modification, and they cleaned it up.


Cleaned Motherboard.

However, the blue lines still stayed.  After talking with an FM-7 expert, we located the suspected VRAM chip.  The computer club's soldering guru tried to help replacing the chip.  But, the tragedy was waiting to happen....

Comments are welcome.  Send E-Mail to: 

Back to http://www.ysflight.com