Wednesday, March 31, 2010

Álom számítógép / Dream computer

(Ez a cikk nem-informatikusok számára kevés vagy semmi értelmes információt tartalmaz.)
Bárány Szilárd megvette álmai számítógépét. Mármint a 13 éves Bárány Szilárd álmainak számítógépét.
Már régóta szeretnék régi (de működő) számítógépeket venni; olyanokat, amiket annak idején nem engedhettem meg magamnak. Otthon (Magyarországon) már van sok régi alkatrészem (alaplapok, CPU-k, merevlemezek, stb., sőt régi Dell laptopom is: Latitude a kilencvenes évek második feléből, Windows 98-cal), de ezek már mind a PC korszakból származnak, túl „újak”.
Tavaly előtt (miközben odahaza vártam a maláj munkavállalási engedélyre) fedeztem fel egy weboldalt, ami régi home computerekkel foglalkozik. Fel is vettem a tulajjal a kapcsolatot, de valahogy nem jutott idő ténylegesen vásárolni valamit. De most, amikor otthon voltunk a télen, végre vettem egy Commodore 64-et. Amikor először találkoztam vele (1985 körül), 300000 forintba került, kétszer-háromszor annyiba, mint a családi kocsink, a Lada 1200s. A szüleim nem tudtak ilyen drága dolgot venni, így aztán a könyvtári és iskolai (magyar gyártmányú) gépeket használtam.
De most! Két Big Mac menü árából megvettem a gépet és még egy floppy disk meghajtó is belefért a keretbe. A gép kb. 1984-es darab, tehát 26 éves, de teljesen működőképes. Egy kis tisztítás ráférne, de kb. ennyi az összes problémája. Illetve: nem tudom min nézni a képet, mert nem tudtam még rákötni a plazma tévére; hiába van egy halom kimenete, egy sem használható. Már utána néztem, milyen kábelt kell fabrikálni hozzá, de ez majd csak a jövő télen lesz megvalósítva.
Maga a gép egy teljesítmény óriás (volt): 8 bites processzor 1 MHz-en, 64 KB memória (38 KB használható BASIC programokhoz), nagy felbontású grafika (320x200) sok színnel (16) és egy ma is elismert hang-generátor. A floppy lemez kapacitása 177 KB volt (a merevlemez a laptopomban kicsit több, mint 1.3 milliószor nagyobb kapacitású). Akármelyik okostelefon simán lekőrözi ma; az enyémen még C=64 emulátor is van. Sic transit gloria mundi.
Egy nagyon kellemes emlékem fűződik e géphez illetve a floppy lemezmeghajtóhoz: ezen találtam fel a relációs adatmodellt illetve a normalizálást. Rendben, Boyce és Codd pár évtizeddel hamarabb már kitalálták, de akkor még nem tudtam róluk, illetve az relációs adatbázis-kezelésről. Ez a kötelező katonai szolgálat alatt történt, a kiképző-központnak kellett oktatóterem-nyilvántartást készíteni, de a 177 KiB kevés volt hozzá, ezért bevezettem (a már általam igencsak jól ismert szavakat használva) az elsődleges és külső kulcsot, hogy csökkentsem az adat mennyiséget a adatállományokban. Érdekes, hogy mennyire nem voltam tudatában a találmányom jelentőségével. Mások ugyan ezért az iparág panteonjába kerültek...
Nem állítom, hogy ma sok mindenre tudom használni a C=64-et, de ez inkább csak az én időhiányom miatt van. Maga a „platform” még igencsak életben van, vannak akik fejlesztenek rá vagy átépítik, vannak emulátorok és lehet régi játékokat, demókat letölteni; illetve nemrég kiadtak egy joystick-be integrált változatot ami egy tucat játékot tartalmaz.
Mariannt már eddig is az őrületbe kergettem a régi számítógép alkatrészekkel, de még mindig vannak terveim. A következő gépeket szeretném még beszerezni: HT-1080Z, Primo, Sinclair Spectrum, Amiga 500, Commodore 128, Commodore +4, egy Apple a 80-as évekből, Compaq SystemPro, Silicon Graphics Iris Crimson, NeXT Cube és egy VT220 terminál. Egy DEC VAX 6000 sem lenne rossz, de annak tárolásához már a nappalit is igénybe kellene venni.


(This post contains little or no meaningful information for non-IT people.)
Szilard Barany has bought the computer of his dreams. I mean, the computer of the 13 year old Szilard Barany's dreams.
I would like to buy old (but working) computers for long; the ones that I could not afford in their times. At home (in Hungary) I already have a lot of old parts (motherboards, CPUs, hard disks, etc., even an old Dell laptop: a Latitude from the second half of the '90s, with Windows 98), but these are all from the PC period, all too “new”.
Before last year (while I was waiting for the Malaysian work permit) I discovered a website that deals with old home computers. I contacted the owner, but somehow there was no time to buy anything. But now, when we were at home for the winter, I finally bought a Commodore 64. When I first encountered one (around 1985) it cost 300.000 Hungarian Forints, two or three times as much as the family's car, a Lada 1200s. My parent could not afford such an expensive thing, so I used the (Hungarian made) computers of the library and the school.
But now! For the price of two Big Mac meals I bought the computer and even a floppy disk drive could fit into the price. The computer is from 1984, so it's 26 years old, but fully functional. It could use a little cleaning, but that's pretty much all it needs. Correction: it needs something on which I can see the picture, because I could not connect it to the plazma TV; it has a dozen of connectors, but none of them usable. I already did a bit of research to find out what kind of cable I should fabricate, but it will be implemented only next winter.
The machine is (was) a performance monster: 8 bit CPU on 1 MHz, 64 KiB RAM (38 KiB usable for BASIC programming), hi-res graphics (320x200) with a lot of colours (16) and a still much respected sound generator. The capacity of the floppy disk was 177 KiB (the hard disk on my laptop has slightly more that 1.3 million times higher storage capacity). Any smartphone nowadays beats it easily; actually, mine has a C=64 emulator on it. Sic transit gloria mundi.
I have a really nice memory regarding this computer and floppy disk drive: I have invented the relational data model and the mornalization on them. All right Boyce and Codd has invented it a few decades earlier, but I wan not yet aware of them and of the relational database management. It happened during the mandatory military service, I had to develop a training-room management solution for the training center, but the 177 KiB was inadequate for this, so I introduced (used the words that I very well know by now) primary and foreign keys to reduce the amount of data in the files. Interesting how much I was unaware of the significance of my invention. Others got into the the industry's pantheon for this...
I have to admit that I cannot use this computer for many things now, but it is mostly because of the lack of free time. The “platform” itself is very well alive, there are still people developing for this or modding it, there are emulators and one can download old games and demos; actually not long time ago a version integrated into a joystick was released with adozen or so games in it.
I have driven Mariann into madness already with the old computer parts, but I still have plans. I would like to obtain the following computers: HT-1080Z, Primo, Sinclair Spectrum, Amiga 500, Commodore 128, Commodore +4, egy Apple a 80-as évekből, Compaq SystemPro, Silicon Graphics Iris Crimson, NeXT Cube and a VT220 terminal. A Dec VAX 6000 would not be bad either, but I would need to use the living room to store it.

No comments:

Post a Comment