|
Post by spannernick on Jun 5, 2022 19:14:25 GMT
Oh OK, no I don't only have RT2800USB Railink Chipset.
|
|
|
Post by spannernick on Jun 6, 2022 9:13:15 GMT
Anyone know where host-run is in the Amiberry src folder...?
I have been looking through the code and found where in the gui you activate host-run but not found where it is yet, anyone know where it is in the code?, I am guessing maybe RGL has marked it off so you can not activate it or removed it from the code. Anything RGL has added is marked with
#if defined REDQUARK' found host-run in \src\osdep\gui\PanelMisc.cpp its the check box in the gui.
chkAllowHostRun = new gcn::CheckBox("Allow host-run"); chkAllowHostRun->setId("chkAllowHostRun"); chkAllowHostRun->addActionListener(miscActionListener); I found as well that Amiberry make a save state when it quits but that would make sense cause that's what happens when you press the Menu or Home buttons, it quits Amiberry and then if you press on the floating image of the game in the carousel it start Amiberry and loads the save state so makes it look like its just paused the game.
|
|
|
Post by jj0 on Jun 6, 2022 10:29:54 GMT
Anyone know where host-run is in the Amiberry src folder...? I have been looking through the code and found where in the gui you activate host-run but not found where it is yet, anyone know where it is in the code?, I am guessing maybe RGL has marked it off so you can not activate it or removed it from the code. Anything RGL has added is marked with #if defined REDQUARK' found host-run in \src\osdep\gui\PanelMisc.cpp its the check box in the gui. chkAllowHostRun = new gcn::CheckBox("Allow host-run"); chkAllowHostRun->setId("chkAllowHostRun"); chkAllowHostRun->addActionListener(miscActionListener); I found as well that Amiberry make a save state when it quits but that would make sense cause that's what happens when you press the Menu or Home buttons, it quits Amiberry and then if you press on the floating image of the game in the carousel it start Amiberry and loads the save state so makes it look like its just paused the game. The changes that remove host-run are in github commit github.com/retro-games-ltd/redquark-amiberry-rb/commit/c800f21f101bcc657642317e90afc15d6ae997b6, search for uaelib.cpp and then you will see them. You only have to remove the #if and #endif lines <EDIT> Oh, and also in src/osdep/amiberry.cpp remve lines 331 and 333 I think.
|
|
|
Post by spannernick on Aug 7, 2022 13:32:30 GMT
Just noticed something, when you unpack the resource.bod v1.0.0 file, the language files are missing The language files has at the top of the file `(Secondary controls)` in the files, they could be `.msg` files so are .txt files, like in THEC64 Carousel so like `messages_de.msg` Talking about `.msg` files, they are used in Attract Mode too, in `\attract\language` folder... weird, so they could of took the carousel idea from Attract mode. Yep the language .msg files are not in the code... can they be added string[] gameNames = new[]
{
"alien_breed_3d",
"alien_breed_se",
"another_world",
"arcade_pool",
"atr",
"battle_chess",
"cadaver",
"california_games",
"dragons_breath",
"f16_combat_pilot",
"kick_off_2",
"paradroid90",
"pinball_dreams",
"project_x_se",
"qwak",
"simon_the_sorcerer",
"speedball_2",
"stunt_car_racer",
"super_cars_ii",
"chaos_engine",
"lost_patrol",
"sentinel",
"titus_the_fox",
"usb", // non-official name
"worms_dc",
"zool",
};
Dictionary<int, string> nameMapping = new Dictionary<int, string>()
{
[0x80] = "font_atlas.bin",
[0x81] = "fragment.glsl",
[0x82] = "vertex.glsl",
[0x83] = "music.mp3",
[0x84] = "splash.mp3",
[0x85] = "ui_atlas.png",
[0x86] = "ctrlatlas.png",
[0x87] = "Roboto-Regular.ttf",
[0x88] = "RobotoMono-Regular.ttf",
[0x89] = "licenses.txt", // non-official name
[0x8a] = "close.wav",
[0x8b] = "flip.wav",
[0x8c] = "open.wav",
[0x8d] = "select.wav",
[0x8e] = "deny.wav",
[0x8f] = "pop.wav",
[0x90] = "select_game.wav",
[0x91] = "click.wav",
};
Dictionary<int, string> extMapping = new Dictionary<int, string>()
{
[0] = ".png",
[1] = ".uae",
[2] = ".uss", // GZipped
[3] = ".bin", // Font atlas
[4] = ".glsl",
[5] = ".mp3",
[6] = ".ttf",
[7] = ".txt",
[8] = ".wav",
}; This is how there named in THEC64 carousel, it has 5 Languages but THEA500 has 6 Languages in its carousel, so Polish (Polski) was added, so I am guessing Polish would be named `messages_pl.msg` THEC64 Carousel Languages Attract Mode Languages We need the Languages unpacked from the resource.bod v1.0.0 file, thats all thats missing that I can see.
|
|
|
Post by spannernick on Aug 8, 2022 12:59:19 GMT
I think it matter where the files are inside the resource.bod file, in bod v1(v1.0.0 firmware), the files are not in the same place in bod v3(v1.1.1 firmware) and I think RGL has moved them so its harder to easily copy the key code from it or to hack it, in bod v1 it is at the top of the file, in v3 it not, its moved so elsewhere in the file and if you try and load Bod v1 in Manhattan v1.1.1, it shutdown the A500 Mini so Manhattan is looking for the key somewhere else in the Bod file cause it would find it in Bod v1 if it was in the same place. Here is a picture comparing Bodypack files V1 and v3, it starts a 0x0000 and ends at 0x0260, just before the languages, I think its english first. The language files start here in Bod v1 at the top of the Bod file 0x0270 just after the key code, I have marked it, and ends 0x0ADC0 in Bod v3 the language files are at the bottom of the Bod file and starts at 0x2EA72AB and ends at 0x2EB1720 so like the Bod file has been flipped. so looks like all 6 language files are together in the Bod files code and in one place, but the code(text) in v1 looks different than v3, maybe its compressed differently. I am wondering if the resource.bod file works like how a CD works and Manhattan picks what tracks it needs and then loads that data into the carousel so Manhattan knows where all are files are inside the Bod file. So if the linup changes in the Bod file then it has to be changed in Manhattan so if the Bod file gets updated then Manhattan will have to be too.
|
|
|
Post by spannernick on Aug 26, 2022 18:26:39 GMT
This is great work! Which network adapter are you using? Thanks! It's a Realtek 8153 (r8152.ko). I'm using the out-of-tree driver that I was using on the C64 Maxi, though I suspect the in-tree driver works fine too. Can you shear the r8152.ko thats works with THEA500 Mini please...?
|
|
|
Post by oleavr on Aug 26, 2022 22:47:59 GMT
|
|
|
Post by spannernick on Aug 27, 2022 13:16:43 GMT
|
|
|
Post by sharklodon on Mar 21, 2023 11:19:14 GMT
Hi,
Is there any way to boot on a TheC64 Maxi?
Thanks,
|
|
|
Post by jj0 on Mar 21, 2023 13:50:59 GMT
Hi, Is there any way to boot on a TheC64 Maxi? Thanks, Can you explain a bit more, what do you want to boot on a THE64 Maxi? If it is about running THEA500 Carousel on a THE64 Maxi then no, that doesn't work as far as I know.
|
|
|
Post by sharklodon on Mar 21, 2023 17:23:38 GMT
Sorry, it's true, my Q is not very clear.
But you understood it perfectly. ;-P
I wanted to run TheA500 Carousel on a TheC64 Maxi.
And Could I run on an Orange Pi One (with AllWinner H3 botting from a SD card)?
Regards, Shark
|
|
|
Post by sn00zerman on May 26, 2023 7:27:48 GMT
Sorry to dig up this old thread, but I think you guys can help me :-)
I have an A500 Mini, running as an A4000 with WB3.1 How would I go about using the serial port, to communicate with another PC (or an ESP32 module) ? - Is it simple soldering wires to the RX/RX/GND pins, and connect them to an RS232/USB converter (or ESP32 module ?) - I assume these signals are 3.3V ? (not 5V) - Next, I should be able to use CLI (on the A500) to run plain linux commands, like: host run "echo 'blablabla' > /dev/ttyUSB0" - Are there some extra steps I forgot ?
I'm planning on building a "Wifi modem" for the A500 Mini ... (in fact, I already have my code ready for this module, to send/retrieve data from the internet, via serial communication) This would give the A500 mini, the ability to connect to the internet, for less then 10 euro, and the module is so small, it can be "crunched" inside the A500 mini case (just requires 4 wires to solder (RX/TX/GND/+3.3V) The software part on the A500 mini itself, can be a little challenge, but nothing I can't handle. (I was a previous software developer as my daily job)
I never owned an Amiga before (shame on me !), and the A500 Mini was an ideal solution to get my hands wet, without spending to much money. (I didn't want to go the RPI way, that is to easy, LOL) I was a C64 guy, since I was 14 years old, learned to code on that machine, and it gave me fuel to start my IT studies and became a software developer (now, 49 years old, I'm an applications business leader, and I do only coding in my spare time, I design my own home automation and my own modelrailroad controller. (I do design the software AND hardware)
Best regards from Belgium, Kris
|
|
|
Post by Wizart on May 26, 2023 9:05:41 GMT
|
|
|
Post by jj0 on May 26, 2023 11:09:03 GMT
Sorry to dig up this old thread, but I think you guys can help me :-) I have an A500 Mini, running as an A4000 with WB3.1 How would I go about using the serial port, to communicate with another PC (or an ESP32 module) ? - Is it simple soldering wires to the RX/RX/GND pins, and connect them to an RS232/USB converter (or ESP32 module ?) - I assume these signals are 3.3V ? (not 5V) - Next, I should be able to use CLI (on the A500) to run plain linux commands, like: host run "echo 'blablabla' > /dev/ttyUSB0" - Are there some extra steps I forgot ? I'm planning on building a "Wifi modem" for the A500 Mini ... (in fact, I already have my code ready for this module, to send/retrieve data from the internet, via serial communication) This would give the A500 mini, the ability to connect to the internet, for less then 10 euro, and the module is so small, it can be "crunched" inside the A500 mini case (just requires 4 wires to solder (RX/TX/GND/+3.3V) The software part on the A500 mini itself, can be a little challenge, but nothing I can't handle. (I was a previous software developer as my daily job) I never owned an Amiga before (shame on me !), and the A500 Mini was an ideal solution to get my hands wet, without spending to much money. (I didn't want to go the RPI way, that is to easy, LOL) I was a C64 guy, since I was 14 years old, learned to code on that machine, and it gave me fuel to start my IT studies and became a software developer (now, 49 years old, I'm an applications business leader, and I do only coding in my spare time, I design my own home automation and my own modelrailroad controller. (I do design the software AND hardware) Best regards from Belgium, Kris The signal levels are 3.3V. It is not as simple as connecting the UART to a Serial2USB converter as the Linux console and kernel messages are already using the UART. So you will have to disable those or filter them out by some clever error checking on the data you will send/receive. There also seems to be another UART on the PCB, maybe you can activate that.
|
|
|
Post by sn00zerman on May 26, 2023 12:43:51 GMT
Thanks guys, what a quick response :-)
In the meanwhile:
- Changed the root password to “empty” :-) (injected an empty password in the etc/shadow folder, of the nandB)
- When I try to do this via a CLI (shell) with host-run "echo test > /dev/ttyS0", I this text on my PC. - Creating a folder on the USB stick via host-run mkdir /mnt/test , does work ! - The 2 above tests, do only work with Firmware 1.0.0 (from the 7Z file), with FW 1.1.1 this does not work.
I also would like to read from /dev/ttyS0 or from a file on the USB-stick, straight back into CLI. What am I missing for this ? Maybe a simple Amiga Basic example, to get me going, would be nice :-)
|
|
|
Post by jj0 on May 27, 2023 11:12:27 GMT
Thanks guys, what a quick response :-) In the meanwhile: - Changed the root password to “empty” :-) (injected an empty password in the etc/shadow folder, of the nandB) - When I try to do this via a CLI (shell) with host-run "echo test > /dev/ttyS0", I this text on my PC. - Creating a folder on the USB stick via host-run mkdir /mnt/test , does work ! - The 2 above tests, do only work with Firmware 1.0.0 (from the 7Z file), with FW 1.1.1 this does not work. I also would like to read from /dev/ttyS0 or from a file on the USB-stick, straight back into CLI. What am I missing for this ? Maybe a simple Amiga Basic example, to get me going, would be nice :-) Can't you change the amiberry settings so that it uses the UART as serial port?
|
|
|
Post by sn00zerman on May 27, 2023 19:28:16 GMT
On a RPI this is possible, but not on the A500 mini :-(
|
|
|
Post by jj0 on May 28, 2023 12:50:01 GMT
On a RPI this is possible, but not on the A500 mini :-( Why not, can't you for example manually edit the amiberry configuration file?
|
|
|
Post by sn00zerman on May 29, 2023 7:39:06 GMT
Yes, already did that, but it simply doesn’t work, or I don’t know what I’m doing :-( Anybody got some pointers to help me out ?
|
|
|
Post by sn00zerman on Jun 2, 2023 14:45:02 GMT
In the meanwhile, I have AmiBerry 5.3 (instead of 3.3) running on the A500 mini. Here I have the option to set IO ports, so I'm confident that this will work with now :-)
|
|
|
Post by jj0 on Jun 3, 2023 8:36:27 GMT
In the meanwhile, I have AmiBerry 5.3 (instead of 3.3) running on the A500 mini. Here I have the option to set IO ports, so I'm confident that this will work with now :-) That's nice, have you replaced the v3.3 or are you running v5.3 separately?
|
|
|
Post by sn00zerman on Jun 4, 2023 13:52:53 GMT
Is there a possibility to replace the amiberry on the A500 mini itself ? I'm currently running Pandory, which has Amiberry 5.3 included. I would love to have the original replaced, that would eliminate to need for Pandory.
Also, is there a linux command to turn off "interaction" with the Linux command-line itself ? - From the A500 Mini, I get all my output from Hisoft Basic 2, nicely on my terminal screen in my laptop. - The other way around, dus not work correctly. I have to type the characters on my keyboard, multiple times, to get them correctly into the A500 Mini. This is not caused by my code, I also have this issue when I use "Term" or "Ncomm". Also, this text is "recognized" as input onto the linux prompt. There is also not a communication issue, because the characters appear correctly in Putty. (they get looped-back, like it should)
I think if I find a way to disable the "linux prompt", everything should work as expected. (Using TTYS1 on the A500 mini does not work, otherwise this problem would have been solved)
|
|
|
Post by jj0 on Jun 4, 2023 15:04:39 GMT
Is there a possibility to replace the amiberry on the A500 mini itself ? I'm currently running Pandory, which has Amiberry 5.3 included. I would love to have the original replaced, that would eliminate to need for Pandory. I haven't tried it, I was trying to understand if you had done it. Yes, as I said before, ttyS0 is used both for kernel messages (e.g when you insert a USB stick there will be some text output on ttyS0) and also for a command-line shell. Maybe this will help: - To silence to most kernel messages you can execute:
echo 0>/proc/sys/kernel/printk
- To 'freeze' the command-line shell you can execute:
killall -STOP sh
So you could either do this from the PC side (including logging in) but maybe also from the Amiga side via host-run.
|
|
|
Post by sn00zerman on Jun 4, 2023 16:26:13 GMT
Hi jj0,
killall -STOP sh did the trick :-) I only had a problem sending data from PC to A500 Mini. Characters did appear while typing them. Now, I can type full sentences on PC, and when I hit <ENTER>, the complete sentence appears on my amiga application !
Thanks, one step closer to my final goal :-)
|
|
|
Post by spannernick on Jul 21, 2023 16:46:46 GMT
I am using the r1832.ko, ipv4.ko and ipv6.ko from this and trying to get the internet working on THEA500 Mini using a TP-Link UE300 Ethernet Adapter( www.tp-link.com/uk/home-networking/computer-accessory/ue300/), its the only one I could find that has a r1853 chip in it but its only connecting to ipv6 only(you can see it on my routers settings page under devices attached) and not connecting via ipv4, it has a ip v4 ip address on THEA500 but never shows in my routers settings page...? Maybe you can help...? From THEA500 Putty... dmesg... Modules... In VICE Mode... can't get a connection...
|
|
|
Post by spannernick on Oct 26, 2023 10:59:45 GMT
I can not find in here or on the forum the mod for the Orange PI 3 LTS so you can run THEA500 Firmware on it, can anyone help...?
|
|
ebug
Creatures
Posts: 13
|
Post by ebug on Apr 2, 2024 22:53:04 GMT
Is it possible to update back to firmware 1.2.1 on a FEL "red led fault" rescue-fixed A500mini ?? I managed to fix my A500mini tonight but I guess its best to get back on 1.2.1 ! I shouldn't have flashed nandb I guess :-(
Cheers Dag E!
|
|
|
Post by Wizart on Apr 3, 2024 9:23:56 GMT
|
|
ebug
Creatures
Posts: 13
|
Post by ebug on Apr 11, 2024 0:36:46 GMT
And so it went :-D CHeers !
|
|