Search found 488 matches

by marcelk
27 Dec 2019, 21:19
Forum: Hardware and software hacking
Topic: Expansion bus
Replies: 98
Views: 98813

Re: Expansion bus

We keep all hardware related stuff in this thread. For the board I'm now playing with there's a schematic earlier in this thread + notes on how to patch it. I searched my folders and I believe the CAD files are those attached here: Expansion 1906.zip I actually continued the CAD from there, but my c...
by marcelk
24 Dec 2019, 17:25
Forum: Escape Meta Alt Control Shift
Topic: Merry Christmas and a happy 2020!
Replies: 5
Views: 9627

Merry Christmas and a happy 2020!

Snow.png 'Falling snow flakes 'N must be 6*n+1 or 6*n-1 10 N=19 20 C=63:D=16:I=1:W=159 30 poke42,D:cls 40 poke43,72:at32,96 50 ?"Merry Christmas!"; 60 at0,119:line W,0 70 forS=1toN:Y(S)=0:nextS 80 for S=1 to N 90 if Y(S)>0 goto 120 100 X(S)=2+rnd(W-3) 110 Y(S)=(8+rnd(60))*256 120 Y=Y(S)+2...
by marcelk
24 Dec 2019, 08:45
Forum: Hardware and software hacking
Topic: Sending code to Gigatron with Arduino
Replies: 4
Views: 4487

Re: Sending code to Gigatron with Arduino

I just leave the files in the same directory, and build in there. In this case it seems PS2.ino was forgotten? Edit : Once it compiles and loads, check if you can talk with the Arduino using the Serial Monitor. Set it to 115200 baud and see if BabelFish is giving you a prompt. Use 'h' + enter to get...
by marcelk
23 Dec 2019, 12:04
Forum: Hardware and software hacking
Topic: GTOS
Replies: 4
Views: 6545

GTOS

[This is a good moment to split the expander board software development from the hardware thread .] To make the SD card reading somewhat meaningful, we must evolve CardTest into a tiny "card operating system". It can be loosely modelled after CP/M and MS-DOS. But an OS is a big thing. The ...
by marcelk
22 Dec 2019, 20:04
Forum: Hardware and software hacking
Topic: sendFile.py ported to Python 3
Replies: 9
Views: 6828

Re: sendFile.py ported to Python 3

That's good to know, because I was still trying to coerce my raspi setup into installing pip3 and pySerial. This isn't totally ideal yet, but neither was the earlier method. At least the VID/PID list is cross-platform and easy to expand correctly.
by marcelk
22 Dec 2019, 18:23
Forum: Hardware and software hacking
Topic: sendFile.py ported to Python 3
Replies: 9
Views: 6828

Re: sendFile.py ported to Python 3

Indeed it may be better to check for something like VID/PID pairs. Or talk to the connected devices and check if they run BabelFish. But the latter will certainly give unwelcome surprises.
by marcelk
22 Dec 2019, 16:20
Forum: Hardware and software hacking
Topic: sendFile.py ported to Python 3
Replies: 9
Views: 6828

Re: sendFile.py ported to Python 3

I just adopted the changes to Utils/sendFile.py. It now requires Python 3. As far as I'm concerned, at this point the Python migration is one-way, without looking back. I refactored a bit as well, so I hope I didn't break the world. Most importantly, the port detection now uses pySerial's built-in c...
by marcelk
22 Dec 2019, 11:29
Forum: Hardware and software hacking
Topic: sendFile.py ported to Python 3
Replies: 9
Views: 6828

Re: sendFile.py ported to Python 3

The hash-bang line is there so you don't have to type 'python script.py blah...', but instead you can just do Utils/sendFile.py Apps/Overworld/Overworld.gt1 You also need the executable bit set. Your version doesn't have that, so maybe you don't use this at all. It's a Unix thing, not a Python thing...
by marcelk
22 Dec 2019, 10:39
Forum: Hardware and software hacking
Topic: sendFile.py ported to Python 3
Replies: 9
Views: 6828

Re: sendFile.py ported to Python 3

Thanks. As Python's 2.7 supports indeed ends soon , we can safely switch from 2 to 3 without even considering backwards compatibility. Somebody started on it already, but got stuck. So this will be something for under the x-mas tree. I note you didn't have to change the hash-bang line: #!/usr/bin/en...
by marcelk
19 Dec 2019, 18:42
Forum: Hardware and software hacking
Topic: Audio filter values swapped?
Replies: 2
Views: 3326

Re: Audio filter values swapped?

I think so. The text can also be removed :-)

I remember we were delighted when we discovered that 3 functions (HPF, LPF, line level) could be made from 3 passives. And not just that, but only values already used elsewhere in the design.

Here's the prototype:

IMG_2626.jpg
IMG_2626.jpg (161.11 KiB) Viewed 3314 times