topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • June 20, 2019, 07:03 AM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Gothi[c] [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 32next
1
Living Room / Re: DC on Discord :O
« on: February 05, 2019, 12:57 PM »
Seems like the best approach would be to create a discord<->irc bridge bot so conversations on either show up on both places. That way you avoid splitting the audience between both platforms (or you end up with even less people to talk to).

2
Living Room / Re: Reviving an old luggable computer
« on: January 05, 2019, 02:09 PM »
Here's a bit of an update.

So, I was challenged with software - I just had a copy of DOS 4.0.1 which doesn't really come with much of anything. It did have a copy of gwbasic, so I wrote a crude program to transfer files.
Then wrote some C code to send files:

Code: C [Select]
  1. #include <stdio.h>
  2. #include <unistd.h>
  3. #include <fcntl.h>
  4.  
  5. #define CHAR_STX 2
  6. #define CHAR_EOT 3
  7. #define CHAR_ACK 6
  8.  
  9. int bcount=0;
  10.  
  11. void wait_ack(int fd)
  12. {
  13.     while(1)
  14.     {
  15.         char buf;
  16.         int bytes = read(fd, &buf, 1);
  17.         if (bytes == -1) continue;
  18.         if (buf == CHAR_ACK) break;
  19.         printf(" (%d) ", buf);
  20.         usleep(1000);
  21.     }
  22.     bcount++;
  23.     printf("%d bytes...\n", bcount);
  24. }
  25.  
  26. void usage()
  27. {
  28.     printf("\n");
  29.     printf("Usage: transfer_file <filename>\n");
  30.     printf("\n");
  31. }
  32.  
  33. int main(int argc, char** argv)
  34. {
  35.  
  36.     // Parse arguments.
  37.     if (argc != 2)
  38.     {
  39.         usage();
  40.         return 1;
  41.     }
  42.     char* filename = argv[1];
  43.  
  44.     // Open input file.
  45.     FILE* file_fd = fopen(filename, "rb");
  46.     if (!file_fd)
  47.     {
  48.         printf("Could not open: %s'n", filename);
  49.         return 1;
  50.     }
  51.  
  52.     // Open serial port and set options.
  53.     int serial_fd = open("/dev/ttyUSB1", O_RDWR | O_NOCTTY);
  54.     if (serial_fd == -1)
  55.     {
  56.         printf("Could not open serial port.");
  57.         return 1;
  58.     }
  59.     fcntl(serial_fd, F_SETFL, FNDELAY);
  60.  
  61.     printf("Streaming from: %s\n", filename);
  62.  
  63.     // Signal read signal.
  64.     write(serial_fd, "\002", 1);
  65.     wait_ack(serial_fd);
  66.  
  67.     // Stream input file over serial.
  68.     char buf;
  69.     while(1)
  70.     {
  71.         size_t bytes = fread(&buf, 1, 1, file_fd);
  72.         if (bytes != 1)
  73.         {
  74.             printf("Got %d bytes, bytes\n",bytes);
  75.             break;
  76.         }
  77.         write(serial_fd, &buf, 1);
  78.         wait_ack(serial_fd);
  79.     }
  80.  
  81.     // Signal end-of-file and exit.
  82.     char eom = CHAR_EOT;
  83.     write(serial_fd, &eom, 1);
  84.     close(serial_fd);
  85.     return 0;
  86.  
  87. }

It's not pretty, and it's pretty slow sending on byte at the time, with the panasonic machine ACK'ing it before the next byte is sent, but it just needed to be good enough to transfer a better program.
I transferred a copy of KERMIT, which has a better way of copying files, and can also act as a serial console / terminal emulator.

Here's the old machine chatting on the donationcoder IRC channel over serial:

dc_channel.jpg

3
Living Room / Reviving an old luggable computer
« on: December 17, 2018, 04:35 PM »
Some years ago, when visiting the midwest vintage computing festival I picked up a Panasonic Sr. Partner luggable 8088 computer from someone's cheap "as-is" pile. I figured if it wasn't working it would be a fun project to try and restore it.

panasonicsrparner.jpg

It's really kind of neat, it has a built-in thermal printer on top.

Sure enough, when I brought it home, I was slightly disappointed, although not surprised, that after switching it on, nothing appeared on the screen.
The light for one of the floppy drives remained on solid, and the screen remained dark.
I could hear a fan running, but no high-pitched whine from the little CRT screen, which is what you would expect if it had power going to the flyback.

At least a year later (or was it two?), and after moving, I finally got around to trying to fix it (first round) - I started with taking the entire thing apart, and trying to get the screen out, which ended up being rather tricky. This thing is built like a giant puzzle-tank.

panasonic_open1.jpg

panasonic_open2.jpg

When I finally got the video input going to the monitor hooked up to a scope, I was pleased to find what looked like a TTL signal, so not completely dead logic-wise. So, my attention went to focusing on the power to the CRT monitor. After inspecting the PCB and not finding anything visually wrong, and poking and prodding at it for quite some time with it powered (dangerous! don't do this without proper precautions!) I was just ready to give up, when I accidentally bump one of the flyback caps and sure enough I briefly heard the high-pitch whine of a flyback powering on. I proceeded with poking each of the caps with a long plastic screwdriver (the kind you use for adjusting variable coils) and I eventually found the one I bumped, and found that when I held it in place, the display would turn on. This was the first time I saw a blinking cursor! After pulling power, draining caps and anode, I re-soldered the cap, and the crt was back from the dead!

A kind friend had gifted me some ancient floppies with various versions of MS DOS to try with this thing, so I inserted one of them, powered it on, nothing. blinking cursor, and drive with solid red light.
After trying all the disks I had on hand, disappointed once again, I gave up for several months.

Eventually I got back to it, and concluded that the floppy drive was probably not working right. I figured I would try swapping the A and B drive, maybe the other one was good. Then I notice the B drive did not have the molex power connector hooked up. Didn't think nothing of it.
Swapped the drives, powered them both on. Now the computer won't even show the cursor! What's going on! After some trial and error:

* both floppies disconnected: have cursor, after some time 'boot error' (was excited to see text for the first time!)
* Only drive A connected: solid power light
* Both drives connected: no cursor.
* Only drive B connected: no cursor.
* Using drive B as drive A: no cursor.

I eventually concluded drive B was defective. It was the only option, because any time it's connected to power, the machine would be dead.
I noticed it would even behave this way when I only connect power, and not the data cable, so I immediately start measuring the pins on the molex connector, and sure enough, there is a short!

<months pass again with the machine disassembled on the workbench>

After disassembling the broken floppy drive next round, I managed to disconnect the smaller pcb on the back with the molex and data connector, with everything disconnected but the small pcb, i'm still measuring a short - this is good news! that means the problem is in the smaller (less complicated pcb).

Near the molex power connector I see 3 capacitors, 2 elco's and one ceramic. I figured that a bad capacitor there could definitively be causing this short - visually they look fine though. In absence of anything else to try, i start with desoldering the ceramic cap (as it was the easiest to get to) - still shorting out. Disappointment again.

<months pass again with the machine disassembled on the workbench>

Today I had off of work and finally decided to have another go at this! I desoldered the other 2 capacitors, and sure enough, no more short!
I replaced the ceramic cap I desoldered earlier with a spare. I didn't have a replacement for the 2 elco's (there was one on the 12V and one on the 5V pin) - i figured they are probably just to remove ripples in the supplied power, and decided to try without them.

In the end my persistence was rewarded! I finally got the machine to boot, and both drives are now functional! I eventually found a bootable dos floppy. It was very confused about the current date, as if I'm an alien from the future. It was clear no one in 2019 was ever intended to use this machine!

dosdate.jpg

I tried putting in a floppy in the second drive, and sure enough, both work!

bothfloppies.jpg

compaqdos.jpg

Time to fire up GWBASIC (which I found on one of the donated floppies!) and go to town!

4
Living Room / Re: 10th Anniversary - long time member check-in thread
« on: December 11, 2018, 11:36 AM »
hello  ;D

5
Non-Windows Software / Re: Multics simulator 1.0 is released
« on: November 16, 2018, 06:07 PM »
This is neat!
I ran multics in dps8m before - works surprisingly well.

6
Obviously you need these :




7
These are great! Makes me want to play something like fsx again!

8
Living Room / Re: External 5.25 floppy usb drive or another way?
« on: September 22, 2016, 09:16 AM »
Easily one of the best DC threads ever :)
ADS looks awesome!
This really makes me want to fix the old luggable I have laying around so we can play this in all it's original glory :)

9
General Software Discussion / Re: Linux bash exploit discovered
« on: September 24, 2014, 08:37 PM »
The RH article has a nice summary of possible attack vectors: https://access.redha...com/articles/1200223

10
MEWLO Web Framework / Re: Mewlo Web Framework Blog
« on: October 02, 2013, 10:49 AM »
Good job!

In many projects, the plugin-system is the last thing to be designed -- something glued on top that would let plugins add features.  I take the opposite approach here, and put the extension system at the foundation.

I think this is wise.


11
If you're interested in rediscovery:

On Gentoo you can do something like this to find all binaries in all installed packages

for pkg in `eix -I --only-names`; do echo -e "$pkg : \n"; (equery files $pkg | grep -i 'bin/'); done

It produces something like:

app-accessibility/espeak :
/usr/bin/espeak

app-accessibility/festival :
/usr/bin/audsp
/usr/bin/festival

app-accessibility/flite :
/usr/bin/build_flite
/usr/bin/dump_cst_regexes
/usr/bin/dump_us_regexes
/usr/bin/find_sts
/usr/bin/flite
/usr/bin/flite_sort
/usr/bin/flite_time
/usr/bin/huff_table
/usr/bin/regexcomp
/usr/bin/setup_flite
/usr/bin/t2p

I imagine other package managers have similar ways of doing stuff like that.
You can get pretty creative with these things in order to produce something searchable or generate menu's.

12
I personally bind keys to launch my most used applications. (It helps I have a keyboard with extra keys)

For anything else I use dmenu-launch which for me is good enough.

For other search specific thingies I prefer small utilities I can fire off in a terminal and pipe to whatever I need rather than a monolithic gui app anyway :)


13
Non-Windows Software / Re: Screenshot thread!
« on: September 01, 2013, 01:14 AM »
You also have to make sure the dt folder is in your path. eg:

PATH="$PATH:/usr/dt/bin" startx /usr/dt/bin/Xsession

There is a guide for FreeBSD here: http://sourceforge.n...v/wiki/FreeBSDBuild/

14
Non-Windows Software / Re: Screenshot thread!
« on: August 31, 2013, 11:19 PM »
I failed to start it.
You should be able to. I know it runs fine on FreeBSD.
It is rather picky about certain things. For example, it won't start if your system hostname is not correctly in your /etc/hosts

15
Is that good or bad?

Quote from wikipedia:

FreeRDP was forked in 2009 from rdesktop with the aim of modularizing the code, addressing various issues, and implementing new features.

So presumably it will include bugfixes and new features compared to rdesktop-based stuff. That is good.
It is relatively new and many popular distro's might not include it in their repositories yet. That could be bad if you care about that. (but is a temporary situation)

16
I want a FreeBSD section.
You can also post about FreeBSD in this section.
I tried to tell mouser that writing that this section is for "Linux" and whatever else he has listed is a bad idea, but he tends to ignore my advise :)

17
Non-Windows Software / Re: Screenshot thread!
« on: August 31, 2013, 01:09 PM »
I haven't tried OpenCDE but I have tried the actual CDE port to GNU+Linux.

The sourcecode for CDE has been released a while back, which has prompted some people to start porting it.
OpenCDE predates the opening of the actual CDE code iirc.

The source can be had here: http://sourceforge.n...code/ci/master/tree/

The porting to non-solaris platforms is still in a 'beta' stage, but it should be usable.

18
Non-Windows Software / Re: Remmina - superb remote access client
« on: August 30, 2013, 05:28 PM »
Evidently Remmina uses the FreeRDP library, unlike most others which invoke rdesktop (which does it's own implementation).

19
DC Gamer Club / Re: Boson X - Free, frantic indie game.
« on: August 30, 2013, 04:59 PM »
Today I learned I have no coordination nor timing. :D

20
Non-Windows Software / Re: Remmina - superb remote access client
« on: August 30, 2013, 02:18 PM »
Nice find.

In case any one wants to compare with the gnome and kde default ones:

* https://projects.gno...gre/screenshots.html
* http://www.kde.org/a...tions/internet/krdc/




21
Non-Windows Software / Re: Screenshot thread!
« on: August 30, 2013, 02:07 PM »
poorly secured access points - which is what I've been asked to help them with.
Since most wireless authentication schemes can be cracked in minutes with a bit of hardware, you're probably better of just running an ipsec vpn on top of it or something in order to access the network :D

22
Come on gothic, there's plenty of room for everyone.

Actually, as it stands now on most of the unmoderated internet, there isn't.
Postings related to popular technologies and platforms drive out the more obscure things (which is logical because they are popular).
The problem with this is that there is no place for people who are actually interested in these obscure things.
When anything is allowed, the "wisdom" of crowds governs, which in practice drives everything towards monoculture.

23
I'm kind of hoping this forum section doesn't get hijacked by the tablet/phone crowd :(

24
Non-Windows Software / The comprehensive IRIX audio software list
« on: August 30, 2013, 10:44 AM »
Many old IRIX workstations still make a pretty decent audio workstation today.

The SGI Octane for example, has a mere 3ms audio input-to-output latency out of the box, and they come with Alesis ADAT 8-channel, 24-bit optical ports are built-in, along with S/PDIF or AES/EBU optical and coaxial ports.

On top of that, there is quite a big list of audio software for the platform out there, many of it still relevant and very usable today. By default Irix comes with a pretty decent mutitrack recording program. Hunting down all the Irix audio software is a bit tricky. Whomever said nothing ever gets deleted from the internet obviously never has researched old obscure stuff :)

There's a list on sgi's old ftp that's rotting away. It is ridden with broken links and it's own pages don't even link to one another correctly anymore, and I have a feeling one of these days it's going to just vanish completely as SGI/rackable is dropping it's legacy IRIX support this year.

So I started copying the list and reformatting it on the reddit /r/IRIX subreddit wiki:

http://www.reddit.co.../wiki/audio_software

There's some pretty fascinating software in that list.

25
Non-Windows Software / Re: Window Managers and Terminals for *NIX
« on: August 30, 2013, 10:31 AM »
Now using fluxbox, thanks to Gothi[c]'s tiling patch (ArrangeWindowsStack*).

Patch is now officially in fluxbox :) Grab the git version and you'll have it included.

Pages: [1] 2 3 4 5 6 ... 32next