It’s been a looong while since the last post. Almost half a year. That’ll teach me to set deadlines for stuff I do in my free time.
Let’s continue where we left it in the last post: we’re going to start learning how to code in assembly language. It will be very handy even when working with C because often we will need to understand what the computer is doing behind the scenes. Plus, it’s actually very simple to learn (though mastering it and learning the underlying hardware will take some more time.)
In this series of articles we’re going to follow the book MSX-DOSアセンブラプルグラミング (MSX-DOS Assembler Programming) by Tetsuya Kageyama, published by ASCII Publications in 1988:
Without further ado:
Assemblers and the assembly language
When reading a book on machine code, we often read sentences like this:
…to create programs in machine code we write an assembly language program and we use a tool called an assembler.
Sometimes the meaning of this isn’t obvious to everybody. What does the assembler do? What kind of programming language is assembly?
Let’s try and answer these questions.Read more ›
Last night I learnt that Ángel Cortés has just passed away. He was 58 years old, and one of the pioneers of Internet in Spain.
We first met in the early 90s, years before Internet access became popular or even easily available in Spain. At the time he was running NeXuS MSX BBS from his home, the only BBS in the country dedicated to MSX computers. I used to dial into his BBS from my MSX2 computer using a 300 bps modem. With his help I later started my own BBS and FidoNet node (LuzNET 2 BBS, 2:343/163).
During the late 90s we worked together at Intercom, back then one of Spain’s biggest Internet service providers. There he started Noticias Intercom, which later became noticias.com. It was one of the biggest news site in Spanish. He also started noticies.com, one of the first news sites in Catalan.
In 2002 he left Grupo Intercom. He asked me for help to start his own news portal: NoticiasDot. We actually ran the whole thing from a server in my Tokyo apartment for about two years, until we moved everything to a hosting company. I was helping him with all the technical stuff until around 2008.
In short, he’s the person who introduced me to computer networks and communications. If I hadn’t met him I probably wouldn’t be where I am today.
Thanks for everything, Angel.
This is an interesting find. Let me give you some background first:
In order to get your driver’s license in Spain you need to pass a test called psicotécnico. This test is designed to ensure that your hand-eye coordination and response times are normal. When I took the test many years ago, it consisted on a computer attached to a couple of foot switches and a couple of handles. On the screen there were a couple of bars that you could move horizontally independently from each other using the handles. The screen kept scrolling down simulating a couple of roads, and your mission was to keep both bars inside the road at all times.
The Spanish government ordered these systems exclusively from a company called ASDE (and they still do).
What’s interesting is that the computer they used was an MSX2. When I took the test they had a Philips NMS8245, but it seems that they also used computers from Sony. Everybody who got a driver’s license in Spain in the 80-90s had to go and play with this MSX.
Today somebody on Facebook found this: there’s one of these units for sale, complete with the controllers and software (a cartridge screwed into the top slot):
Nowadays these machines aren’t in use anymore. They’ve been replaced with a newer system, but it seems that the controllers are basically still the same:
Here’s a video of a test in progress. The MSX version was exactly the same:
Seeing this machine brought back some nice memories. :-)
Update: a friend on Facebook reports that these MSX are still in use in some examination centers.
During a conversation on Facebook earlier today I mentioned a couple of books by Japanese author Hiroyuki Maeda, and I promised to post more information later. These books are for retro computer fans, even those who can’t understand Japanese. Mr. Maeda has published several books about retro computers and game consoles, but in this post I’ll talk about two of them:
- 懐かしのホビーパソコンガイドブック (The Nostalgic Hobby PC Guidebook, ISBN 978-4-7755-2339-1)
- 海外のゲーム＆パソコンガイドブック (The Oversea’s Game & PC Guidebook, ISBN 978-4-7755-2419-0)
These books contain lots of information about hundreds of computer systems and consoles from the late 70s to the early 90s. Keep reading for a taste of what’s insideRead more ›
I posted about this on my Facebook account a few days ago and several people asked for more photos and a followup, so here it is.
Some time ago I bougth a Panasonic FS-A1ST computer on Yahoo! Auctions. The description said that the unit was “as is” and that it wasn’t guaranteed to work properly. The photos were a bit dark, but there wasn’t any obvious physical damage. The price wasn’t high, so I bid on it and I won.
The package arrived a few days later. I couldn’t wait to open the box and try it (I had been without an MSX turbo R for quite a while), but my happiness vanished quickly: the computer came in a terrible shape. It was very dusty, and both the case and keyboard had yellowed a lot, not to mention the tobacco smell.Read more ›
This morning we went to Ginza for some important shopping, and afterwards we headed for the Sony Building. The reason: an exhibition opened there last week about the design of Sony products, and they have on display one of the coolest-looking MSX computers ever produced: a red HIT-BIT HB-101.
Sony Design: MAKING MODERN
Place: Sony Building (8th floor), Ginza
Admission fee: Free
Companion book: Sony Design: Making Modern
Held from April 29th to June 14th, 2015
In the last post we saw a very brief example of command line parameters, and we learnt about input/output redirection and pipes.
This week we’re going to see the structure of a program written in C. This post is intended as an introduction for users who haven’t programmed in the C language before. If you have coded anything in C before then you can completely skip it.
A few characteristics of C programs
If you’ve been an MSX user for a long time then it’s likely that you’ve seen lots of MSX BASIC programs. If that’s the case, then you’ll immediately notice several differences:Read more ›
We now have a working installation of the MSX-C compiler. We saw a very simple test program in chapter 12, and this week we’ll compile a program that actually does something.
We’re going to learn about:
- Command line parameters
- Input/output redirection
Along the way we’re also going to see some common compile-time errors and how to resolve them. This post doesn’t require or assume any previous programming experience. The content and example programs are based on chapter 4 of the book MSX-C入門上巻 (“Introduction to MSX-C, first part”) edited by ASCII Corporation in 1989.
Before we start go get something to drink. This is a long post.Read more ›