IanSB / RGBtoHDMI

Bare-metal Raspberry Pi project that provides pixel-perfect sampling of BBC Micro video and conversion to HDMI
GNU General Public License v3.0
129 stars 6 forks source link

Unable to see new profiles on the profile menu. #30

Open Finklewart opened 5 months ago

Finklewart commented 5 months ago

Hi, I've created a custom profile and can use it fine loaded as custom profile 1. I followed the instructions on the wiki to move it to the normal profile folders and renamed it to a sensible name but whatever i do i can't get it to show up on the normal profile menu. I'm sure I'm doing something silly. I've got the correct 6-12_BIT_YUVAnalog folder and i've not renamed the extension from .txt I notice a lot of the folder and file names are using instead of space but i tried folder and file names without spaces and that didn't work either.

Many thanks,

Jim

IanSB commented 5 months ago

@Finklewart What RGBtoHDMI board are you using? (i.e. main CPLD + analog board or the special lumacode/mono board) If it's the lumacode/mono board then you need to add a trailing to the filename before .txt to make it show up in the profile lists. plus any new machine name folder (like Commodore / Apple etc) also has to have a trailing

So if your machine name was Foo and the profile was Bar.txt then you need to create a folder: /Profiles/6-12_BIT_YUVAnalog/Foo/Bar_.txt

The reason is that both the analog board and the lumacode board share the same profile folder but only a subset of those profiles will work on the luma board so to avoid confusion profiles that don't work (i.e. without the trailing_ ) are hidden.

Leading _ is also used to change the sorting of files and folders so that special folders like Test and Custom appear at the end of the list and not in between normal manufacturers.

All the _ characters are removed or replaced by spaces in the menus so this is normally hidden from the user.

BTW what is your custom profile for? If it's an unsupported machine perhaps you would post it here for inclusion in a future release.

Finklewart commented 5 months ago

Hi, thank you for your reply. It's just using the analog board, the same one as used on the ZX80/81/Apple/UK101/Ohio etc.

So for the normal analog board i don't need to worry about the trailing _ ?

The machine is a 911VDT card in a Texas Instruments TI-990 system, it has a composite video output. Once I can get it to appear in the menu correctly i will post it.

IanSB commented 5 months ago

@Finklewart If it's the normal analog+cpld board pair with the 6 way IDC connector then it shouldn't need the trailing _

What is the exact path + filename you are using?

Finklewart commented 5 months ago

Hi, The analog board i have has a single 3.5" connector. Is that the lumacode board ?, the person i bought it from didn't mention lumacode. Ah, i've added the trailing to the path and the file name and it now shows up in the profile menu. I had tried the on the file name and the folder name but i don't think on both at the same time. Thank you very much. I didn't see the mention of the _ in the tutorial for adding new profiles.

The file is attached, this is for the VDT911 board jumpered to 1920 characters (80x24) and 50 Hz, i will add the other 3 modes at a later date, 960 character (80 x 12 !) and both in 60 hz

Thanks for the help,

Jim

Texas_Instruments_TI-990_VDT911card.zip

IanSB commented 5 months ago

@Finklewart

The analog board i have has a single 3.5" connector. Is that the lumacode board ?

Yes. It's printed on the PCB and shown in the System Summary menu: capture2

The file is attached, this is for the VDT911 board

Thanks, it will probably appear in the "Other" folder for now.

I will add the other 3 modes at a later date, 960 character (80 x 12 !) and both in 60 hz

It is best to create each profile individually but if the timing of these profiles is sufficiently different you can put them all in a sub-folder and RGBtoHDMI will auto select the correct one. This will certainly be the case for the 50/60 Hz ones but I don't know what difference there will be between the 80x24 and 80x12 ones. (There might not be any difference in which case both modes will work with the same profile)

See existing profiles for an example of the structure of this e.g: /Profiles/6-12_BIT_YUVAnalog/Sinclair/ZX81Composite

I didn't see the mention of the _ in the tutorial for adding new profiles.

I haven't got around to documenting it so far. Actually, looking at the current profiles there are now a lot more uses of the than 'normal' profiles so it may be better to reverse the logic of this so the is used to signify the non-mono/luma profiles. I might change that in a future release.

Finklewart commented 5 months ago

Sorry for causing confusion, i'd not realised i was using the the lumacode version of the board. Feel free to change the file and pathnames. I think you are right, the 80 x 24 and 80 x 12 use the same screen resolution just with a lot more padding on the 80 x 12 characters.

Thanks agaon,

Jim