Demo for the piGFX Terminal 
1.8.21, 15:11 - retro & C64
gepostet von web doc
Here is a short Demo for the piGFX Terminal Emulator, written in Basic ;)

1 PRINT CHR$(27);"[2J";
2 PRINT CHR$(27);"[50;60H";
3 PRINT "piGFX TEST on a PAL-1"
4 FOR K=1 TO 100
5 NEXT K
6 PRINT CHR$(27);"[=1m"
9 FOR I=1 TO 50
10 GOSUB 80:X$=D$
11 GOSUB 80:Y$=D$
12 GOSUB 80:W$=D$
13 GOSUB 80:H$=D$
14 GOSUB 80:CO$=D$
29 PRINT CHR$(27);"[38;5;";CO$;"m";
30 PRINT CHR$(27);"[#";X$;";";Y$;";";W$;";";H$;"r";
40 NEXT I
41 PRINT CHR$(27);"[2J"
49 FOR J = 1 TO 50
50 GOSUB 80:X$=D$
51 GOSUB 80:Y$=D$
52 GOSUB 80:W$=D$
54 GOSUB 80:CO$=D$
59 PRINT CHR$(27);"[38;5;";CO$;"m";
60 PRINT CHR$(27);"[#";X$;";";Y$;";";W$;"c";
61 NEXT J
62 PRINT: PRINT CHR$(27);"[20;20H";
63 PRINT "Thats it folks. Greetings to"
64 GOSUB 80:X$=D$:GOSUB 80:Y$=D$
65 PRINT: PRINT CHR$(27);"[";X$;";";Y$;"H";"JOHN, LIU"
66 GOSUB 80:X$=D$:GOSUB 80:Y$=D$
67 PRINT: PRINT CHR$(27);"[";X$;";";Y$;"H";"HANS, HJM"
68 GOSUB 80:X$=D$:GOSUB 80:Y$=D$
69 PRINT: PRINT CHR$(27);"[";X$;";";Y$;"H";"And all the rest of the ";
70 PRINT "KIM-1 Crew"
71 PRINT CHR$(27);"[=0m"
79 END
80 REM Random Generator wo leading Space
81 A=RND(2):A=RND(2)*300
82 B=INT(A):C$=STR$(B):D$=MID$(C$,2)
83 RETURN



A Graphics Card for my KIM-1 Clone 
29.7.21, 14:31 - retro & C64
gepostet von web doc
I've talked a lot lately about my newest achievement, my PAL-1, a KIM-1 clone.
(here), here, here and (here)...
Now I've got what it takes to Convert him into a real usable desktop computer:

The Graphics Card for my PAL-1


It is basically a Raspberry Pi Zero with the fabulous PiGFX system, a bare metal terminal emulator with HDMI output and support for USB and PS/2 Keyboards as well as rudimentry file transfers from the sd card.






From the Website:
PiGFX is a bare metal kernel for the Raspberry Pi that implements a basic ANSI terminal emulator with the additional support of some primitive graphics functions. It can be driven by pushing characters to the raspi UART. Additional functions like changing text color, moving the cursor or clear the screen can be invoked via ANSI escape codes. The result is that you can easily add an HDMI display output to your embedded project without the hassle of directly generate the video signal.

Means: You can load sprites, draw circles or triangles or rectangles. You can change the font, and change foreground and background colors and paint whereever you want on the screen.

What do you need?
a Raspberry Pi (10€) and a Level shifter 232 to ttl (2€)

Occuring problems during the build:
- The selection of the sd card is tricky. The website states it has to be an older and smaller card, I bought a 32gb card, which did not work. (I've found an abandoned card in my drawer later with only 8 gig, which did the job). Patition it to 1gb! FAT or FAT32. The bare metal sd driver is more than picky.

- The level shifter I ordered (https://www.pollin.de/p/rs232-ttl-wandler-mit-max3232-810358 ) had already crossed TX - RX lines, so a direct connection did not work. I rewired the RS232 connector on the levelshifter board, and it workd immediately (a real dirtyhack)

- The config file needs the following values:
baudrate = 2400
replaceLFwithCR = 1
and last but not least, if you use the pigfx version from the filetransfer branch
[Filetransfer]
fileSendCharDelay = 50
fileSendLineDelay = 200

I hope someone follows me and we can set up loading routines for the normal monitor.

Stay childish,
yours,
webdoktor
18 einfache Regeln 
Private Views Part 6342 
6.7.21, 08:15 - Dies und Das
gepostet von web doc
Das Leben dümpelt so dahin. Ich habe nicht wirklich Lust in Urlaub zu fahren. Was soll man schon an einem anderen Ort an dem man nichts tun darf? Strange world, wierd times. Außerdem muss jemand hier in meinem kleinen Laden die Stellung halten; Die beiden Mädels hören Ende der Woche auf, die verbliebenen Jungs wollen Urlaub. Aber ein paar Tage Kanalreparatur müssen drin sein. Das ist nur die große Gefühlslage.
Was mir ein wenig Kopfzerbrechen bereitet ist die große Strassensperrung zwischen Schmitten und Dorfweil, die gefühlt bis 2023 laufen soll. Ab dem 17.7. ist die einzige Verbindung zu meinem Elternhaus gekappt. Und das auch für alle Rettungsdienste. /o\ Ich kann nicht glauben, dass niemand darüber nachgedacht hat. Ich werde also morgens mit dem Fahrrad zu meinem Auto fahren, dass ich auf meinem Parkplatz in Schmitten abstellen kann, um auf die Arbeit zu kommen und Abends das Ganze in umgekehrter Reihenfolge, um nach Hause zu kommen. YAY. Sport.


Basic Games for your KIM-1 
20.6.21, 20:14 - retro & C64
gepostet von web doc
Since Apple Basic has been ported to the KIM-1, there are three working Basic interpreters:

Tiny Basic,
MS Basic and
Apple Basic

I found some old Basic games for old interpreters in the Book
"Basic Computer Games"
and "More Basic Computer games"
by David H. Ahl
(All available on my g.drive)

These games have to be fitted for the KIM-1 and its restrictions, but I got at least 2 working:

Roulette
and
Pinball





So if you own a KIM-1 or a clone and you are able to run MS Basic, go on and try out the games...

Have fun,
webdoktor


<<alpha <Zurück | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Weiter> omega>>