Search found 31 matches

by spark2k06
Sat Jan 11, 2020 10:37 am
Forum: MiSTer
Topic: Joy2PS2 & Soraer's NKRO USB Converter for MiSTer
Replies: 3
Views: 929

Re: Joy2PS2 & Soraer's NKRO USB Converter for MiSTer

That works on Computer cores, but no on Console or Arcade ones. On those cases you need two USB cables: both gamepads or one gamepad/one keyboard. Because with the keyboard you can't map 2 controllers. For 2P support you need to modify the firmware. I have the same problem on my JAMMA adapter. In m...
by spark2k06
Sat Jan 11, 2020 6:33 am
Forum: MiSTer
Topic: Joy2PS2 & Soraer's NKRO USB Converter for MiSTer
Replies: 3
Views: 929

Joy2PS2 & Soraer's NKRO USB Converter for MiSTer

This is a project that I am developing, modular and based on AVR: https://www.youtube.com/watch?v=FaunbXS9z4A Configured with the default MAME keys for two players, the idea is that it can be reconfigured from an I2C LCD to save in the EEPROM. It is the continuation of another development that I mad...
by spark2k06
Sat Oct 19, 2019 4:21 am
Forum: MiSTer
Topic: No network with Ethernet cable
Replies: 8
Views: 5604

No network with Ethernet cable

I am confused, I have not used the MiSTer for a long time and I do not know why, but when connecting via Ethernet, (no WiFi problem) the network is not detected. I remember that before it worked for me... :shrug: 1. I have verified that the network cable is correct, connected to another device I hav...
by spark2k06
Fri Oct 18, 2019 8:04 am
Forum: MiSTer
Topic: Wifi
Replies: 144
Views: 67912

Re: Wifi

It seems USB HUB gave me mentioned problems with WiFi. After change to another one WiFi dongle is much more stable. Keyboard doesn't freeze while WiFi initialization. I also have keyboard freezing problems with the Wifi dongle I use. What dongle is stable for you? To look for it and buy it ... Than...
by spark2k06
Thu May 30, 2019 7:24 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Bootcore feature

This feature for USB I did not get to fully test it, when I have a little time I check it and see if we can implement it so that it works just as well as from the SD. Any news about this topic will be announced in this thread. Thank you for this feature. It works well directly from the SD Card. Howe...
by spark2k06
Wed Mar 20, 2019 8:06 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Bootcore feature

How to we activate this feature? Thanks Add these lines in MiSTer.ini and uncomment bootcore field: ; lastcore - Autoboot the last loaded core (corename autosaved in CONFIG/lastcore.dat) first found on the SD/USB ; lastexactcore - Autoboot the last loaded exact core (corename_yyyymmdd.rbf autosaved...
by spark2k06
Tue Mar 12, 2019 5:38 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Bootcore feature

Feature available from MiSTer_20190318, more info in the first post.
by spark2k06
Sat Mar 09, 2019 6:00 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

New beta refactorized, free of memory leaks, I think: https://github.com/spark2k06/Main_MiSTer/commit/e8279f5b5f9225dc4f64daf01c058da2906824b2 commit 1: Bootcore feature https://github.com/spark2k06/Main_MiSTer/commit/fb1cb7953462e5f4ee65193f60a26ec3abf6b748 commit 2: Optimizations and normalization...
by spark2k06
Thu Mar 07, 2019 8:38 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

I take note to review it too. Thank you!
by spark2k06
Thu Mar 07, 2019 12:11 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

The solution is not right. I have not allocated space to the destination variables used by strcpy ... I will have to refactor as you say and optimize. Another day, this has to be thought very well. Thanks again for notifying. I will use this great application to detect possible problems with memory:...
by spark2k06
Thu Mar 07, 2019 11:55 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

One thing I notice is that you seem to have unnecessary memory leaks. for example: in function 'FileLoadLastCore' on line 106 you potentially return NULL loosing reference of the memory you malloc on line 97. You should probably free(bootcore) before returning NULL; in function 'bootcore_init' on l...
by spark2k06
Thu Mar 07, 2019 8:32 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190304b)

New beta, new options: ; lastcore - Autoboot the last loaded core (corename autosaved in CONFIG/lastcore.dat) first found on the SD/USB ; lastexactcore - Autoboot the last loaded exact core (corename_yyyymmdd.rbf autosaved in CONFIG/lastcore.dat) first found on the SD/USB ; corename - Autoboot first...
by spark2k06
Mon Mar 04, 2019 5:09 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Sorgelig wrote:Auto updating ini anyway is not a good idea. I want to keep it read-only.
I assumed it, totally understandable. I continue with the other idea and the auxiliary file only for bootcore = last.
by spark2k06
Mon Mar 04, 2019 3:37 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Anyway, I'm seeing that updating MiSTer.ini is not a simple task. Contrary to its reading thanks to the function ini_parse (), we have not yet implemented anything for the writing of the fields of the cfg structure, which could be good in the future ... but as I say, if the update of this file is no...
by spark2k06
Mon Mar 04, 2019 3:00 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Oh, i've overlooked. For "last" option it definitely need some config file where last used core will be stored. I mean for "filename_of_core" you don't need that config as core will be directly pointed in this option. I had thought about the following. If the option is 'bootcore=last', the program ...
by spark2k06
Mon Mar 04, 2019 1:42 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Well. I already know how I will do to not need the variable or additional file and with your original idea of ​​bootcore = last or bootcore = filename.

Soon new beta...
by spark2k06
Mon Mar 04, 2019 1:01 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Sorgelig wrote: for what?
1 = last
2 = filename
Then you propose the use of two variables in MiSTer.ini? True?

Because I need two data, if is the last (for write it or not when the core os selected), and the filename fullpath.
by spark2k06
Mon Mar 04, 2019 12:38 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

i suggest following options: coreboot=last coreboot=filename_of_core if absent then original behaviour. And you don't need additional text file. I think it's a good idea to indicate the core in the MiSTer.ini configuration file itself. But if 'last' is indicated, I need another additional variable,...
by spark2k06
Mon Mar 04, 2019 12:32 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Sorgelig wrote:and may be "bootcore" would sound better.

By the way, check your feature against USB storage. Make sure it works as well.
Ok. :-)
by spark2k06
Mon Mar 04, 2019 12:30 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

i suggest following options: coreboot=last coreboot=filename_of_core if absent then original behaviour. And you don't need additional text file. I think it's a good idea to indicate the core in the MiSTer.ini configuration file itself. But if 'last' is indicated, I need another additional variable,...
by spark2k06
Mon Mar 04, 2019 9:10 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Feature coreboot Beta (MiSTer_20190302c)

The pull request has been rejected for good reasons. After following the tips of Sorgelig and before doing pull request again, we return to beta mode with added functionality, which is the fixed load of a core. For this reason, the variable 'lastcoreboot' is now simply called 'coreboot' and has thre...
by spark2k06
Sun Mar 03, 2019 1:53 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Reset button is hardwired to cold reset. So, reset button on I/O board effectively the same as cold reset button on the DE10-nano. HPS has no chance to sense the reset button as it gets hardware reset signal. In theory it's possible to change the button behaviour to let the HPS to sense the button ...
by spark2k06
Sun Mar 03, 2019 5:55 am
Forum: MiSTer
Topic: Newbie questions
Replies: 690
Views: 179742

Re: Newbie questions

You could rename the core to menu.rbf I know, but it does not seem like an elegant way to do it. I am developing a solution to this approach, based on the lastcoreboot = 1 variable that I comment. I am in the debugging phase (I do not have much time for tests either), and when I have it ready I wil...
by spark2k06
Sun Mar 03, 2019 5:53 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 33
Views: 9445

Bootcore feature

Feature available from MiSTer_20190318: ; [MiSTer] ; lastcore - Autoboot the last loaded core (corename autosaved in CONFIG/lastcore.dat) first found on the SD/USB ; lastexactcore - Autoboot the last loaded exact core (corename_yyyymmdd.rbf autosaved in CONFIG/lastcore.dat) first found on the SD/USB...
by spark2k06
Sat Mar 02, 2019 7:59 am
Forum: MiSTer
Topic: Newbie questions
Replies: 690
Views: 179742

Re: Newbie questions

You could rename the core to menu.rbf I know, but it does not seem like an elegant way to do it. I am developing a solution to this approach, based on the lastcoreboot = 1 variable that I comment. I am in the debugging phase (I do not have much time for tests either), and when I have it ready I wil...

Go to advanced search