Jump to content

tsom

Members
  • Content Count

    195
  • Joined

  • Last visited

Community Reputation

73 Excellent

1 Follower

About tsom

  • Rank
    Chopper Commander

Recent Profile Visitors

569 profile views
  1. The custom font is defined in the source code here: https://github.com/lwiest/StarRaiders/blob/2c7741941f2f821ead8f1f3025fce8c95f73b446/StarRaiders.source.asm.txt#L2641 There's only a handful of redefined characters.
  2. Was pretty easy, once I figured out how Action handled the pointer to the buffer. And the difference between PRINTB and PRINT.
  3. Playing around with my FujiNet, and had loaded up the Basic program to get and display the date and time. So I thought I'd try my hand at doing the same in ACTION. Now, this is the most ACTION I've written...ever. It works, it's not as fancy, but it gets and displays the date and time. MODULE BYTE DDEVIC = $0300 BYTE DUNIT = $0301 BYTE DCOMND = $0302 BYTE DSTATS = $0303 CARD DBUF = $0304 BYTE DTIMLO = $0306 BYTE DUNUSE = $0307 CARD DBYT = $0308 CARD DAUX = $030A BYTE DAUX1 = $030A BYTE DAUX2 = $030B BYTE ARRAY timebuf(6) PROC siov=$E459() PROC setparms(BYTE ARRAY buf) DDEVIC = $45 DUNIT = $01 DCOMND = $93 DSTATS = $40 DBUF = buf DBYT = 6 DAUX1 = $EE DAUX2 = $A0 RETURN PROC main() CARD I PRINTE ("The time is:") setparms(timebuf) siov() PRINTF("%i/%i/%i%E",timebuf(1),timebuf(0),timebuf(2)) PRINTF("%i:%i:%i%E",timebuf(3),timebuf(4),timebuf(5)) RETURN
  4. Hello all, I have an 800xl that has, as far as I can tell, the "Type 4" (per ) keyboard, and frankly, it sucks. I see people posting in that thread how the type 4 is their favorite, but I don't get it - the shift, control, tab and other keys won't press unless you hit them directly in the middle. The rest of the keys do seem to block when pressing too. I love my 800xl (it's fully socketed, and I've done the S-Video mod so the output is super clean), but I need to replace the keyboard. Does anyone have a lead on keyboards? I've checked EBay, and there are. some 800xl's on there, but it'd be a roll of the dice as far as what keyboard they have. Ideally I'd like to just get a replacement (Ideally the Type 1 or 2) Thanks!
  5. I installed this version and noticed that the wpa_supplicant.conf file was not at the root of the image on the SD card. I booted the Pi and had to use the ethernet card to connect to it. I edited the /etc/wpa_supplicant/wpa_supplicant.conf file and rebooted, but that didn't seem to work, but when I used raspi-config to set the SSID and password, that got everything working. So far anyway apt-get update works now too. Thanks!
  6. Will give this a try this afternoon and report back.
  7. Glad you found it.... but my solder skills aren't that refined lol! And I agree with @Fell, counting the pins from the top left, it does look like it's 5 & 6
  8. Also, with later versions of the firmware, and also with the 1.3 version of the hardware, pushing the reset button on the device does a "soft reset" which takes noticeably longer (upwards of 8-10 seconds sometimes). Wait for the white light to come back on.
  9. I did, that's where I'm getting the error above [email protected]:~ $ sudo apt-get update Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/dpkg/status E: The package lists or status file could not be parsed or opened. [email protected]:~ $ I did try some solutions I found online (replacing the status file with a backup, etc. but it didn't help) I tried to update the time zone via raspi-config and it threw a boatload of errors also (this is just the end of the errors, most scrolled off) line 1083. Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 1084. Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 1085. Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 1086. Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 1087. Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 1088. Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1088. dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 0: end of file during value of field '_ENSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb1ELb0ELb1EEEE19_M_allocate_bucketsEj' (missing final newline) dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 0: end of file during value of field '_ENSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb1ELb0ELb1EEEE19_M_allocate_bucketsEj' (missing final newline) /usr/sbin/dpkg-reconfigure: tzdata is not installed
  10. Looks like there may be an issue with the Samba service. Looking into it now: [email protected]:/etc/samba $ sudo systemctl restart smbd Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details. [email protected]:/etc/samba $ systemctl status smbd.service ● smbd.service - Samba SMB Daemon Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2021-01-13 06:37:35 CST; 12s ago Docs: man:smbd(8) man:samba(7) man:smb.conf(5) Process: 648 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS) Process: 649 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=203/EXEC) Main PID: 649 (code=exited, status=203/EXEC) Jan 13 06:37:35 tnfs systemd[1]: Starting Samba SMB Daemon... Jan 13 06:37:35 tnfs systemd[649]: smbd.service: Failed to execute command: Exec format error Jan 13 06:37:35 tnfs systemd[649]: smbd.service: Failed at step EXEC spawning /usr/sbin/smbd: Exec format error Jan 13 06:37:35 tnfs systemd[1]: smbd.service: Main process exited, code=exited, status=203/EXEC Jan 13 06:37:35 tnfs systemd[1]: smbd.service: Failed with result 'exit-code'. Jan 13 06:37:35 tnfs systemd[1]: Failed to start Samba SMB Daemon. There may be bigger issues here: [email protected]:/etc/samba $ testparm testparm: error while loading shared libraries: /lib/arm-linux-gnueabihf/libsmbconf.so.0: invalid ELF header [email protected]:/etc/samba $ sudo apt update Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [351 kB] Fetched 399 kB in 2s (192 kB/s) Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/dpkg/status E: The package lists or status file could not be parsed or opened.
  11. That did it! Wifi is now working! (Initially I wasn't able to see it or connect to it, so had to use the ethernet cable. Then I realized I was a dumb** and forgot to edit the wpa_supplicant.conf file! Doh! Quick edit and it's all set) Thanks!
  12. Works for me. Seems some sort of missing driver issue, as near as I can tell(?)
  13. Well, I just tried re-imaging and it still does not see any WIFI. I had to use an ethernet cable to even access the Pi. Warning: the ECDSA host key for 'tnfs.local' differs from the key for the IP address '192.168.7.119' Offending key for IP in /Users/johntsombakos/.ssh/known_hosts:21 Matching host key in /Users/johntsombakos/.ssh/known_hosts:22 Are you sure you want to continue connecting (yes/no)? yes [email protected]'s password: Linux tnfs 5.4.83-v7+ #1379 SMP Mon Dec 14 13:08:57 GMT 2020 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. rfkill: cannot open /dev/rfkill: Permission denied rfkill: cannot read /dev/rfkill: Bad file descriptor [email protected]:~ $ iwconfig eth0 no wireless extensions. lo no wireless extensions. from cat /proc/cpuinfo: Hardware : BCM2835 Revision : a02082 Serial : 00000000cec343fd Model : Raspberry Pi 3 Model B Rev 1.2
  14. yeah, I realized after it was double density, so I had tried that, but I guess it's the version of the N: hander. I suppose the best way is to duplicate one of the DOS disks and remove unneeded stuff, and add what I want. Thanks as always!
×
×
  • Create New...