Page 2 of 2

Re: Oric Character Generator

Posted: Tue Oct 11, 2016 1:05 pm
by Chema
Hi all. It is better if the file is in XA asm format, as it can be used inside a C program, but not the other way round.

It is just a matter of putting a label with the font name (preceded by an underscore to be used inside a C program) and then using .byt statements for the value of each character, from code 0 to 96.

the 'x' would be the values for each 6 pixel row and from the ; onwards it is a comment. You can use decimal notation (eg. 64 for all bits off), hex numbers ($40), or even binary %01000000

If you export from code 32 (space), something such as:

Code: Select all

_FontName    
            .byt 64,64,64,64,64,64,64,64 ; This is for Space character 
            .byt x,x,x,x,x,x,x,x ; This is for "!"
            ...

Re: Oric Character Generator

Posted: Tue Oct 11, 2016 5:45 pm
by peacer
- I've added a textbox to build .ASM and C codes. Another button to put the code to clipboard so that you can add the code to your programs.
- Hex - Decimal button added.

Please check this version if resultant code is ok? I will add option to file menu "Save as .DAT" , "Save as .C file" , "Save as ASM file" etc later.
Charedit 1.1.rar
(131.23 KiB) Downloaded 167 times

Re: Oric Character Generator

Posted: Tue Oct 11, 2016 9:39 pm
by coco.oric
Bravo, and thanks for this modern tool.

Re: Oric Character Generator

Posted: Tue Oct 11, 2016 10:13 pm
by iss
It's getting even better!
One bug to report: Start program, click button 'Load default Alternative Set', click to select char with invalid number (i.e > 80), click to change any pixel -> Run-time error '13'
... and one wish: change the font for generated .C/.S source to mono-spaced one (for instance Courier New).

Re: Oric Character Generator

Posted: Tue Oct 11, 2016 11:42 pm
by peacer
Thanks for error-proofs :)

- Bug is fixed
- Font is set as courier new

And also, I made another form for code building instead of main form of the program. This looks even better I think :)
Charedit 1.1.rar
(132.57 KiB) Downloaded 192 times

Re: Oric Character Generator

Posted: Wed Oct 12, 2016 8:03 pm
by peacer
Updated working version 1.2 is finished

Image
Image

- .c and .a code build is applied
- You can copy the built code to clipboard or save them to a file
- Save as .RAW option added. It produces binary data file which only contains data beginning from the space character.
- I've added required DLL and OCX files too.
Char Editor 1.2.rar
(1.35 MiB) Downloaded 159 times
Note : I've added Comctl32.ocx to the archive

Re: Oric Character Generator

Posted: Sat Feb 18, 2017 3:08 am
by Brana
Your goal is to use Oric font on PC?
Or to implement font from PC on Oric?
Or I misunderstood it completely?

By the way, would you like to know more about my MakeFont?
It enables you just to create any shape for the each letter - on the Oric Atmos itself (Emulated by Euphoric)

(Screenshots)
Edit: "The extension bmp is not allowed"
Well - the BMP extension is the F12 result from the Euphoric itself
(Euphoric creates screenshots from the program in BMP format)
Will convert them to JPG now.

Re: Oric Character Generator

Posted: Sun Feb 19, 2017 6:39 pm
by peacer
My utility is to create / edit oric fonts on PC. Its a PC program, not oric. You can load Oric font file, edit it, and load it back from Oric.

The aim is to use PC capabilities like mouse, and creat oric fonts as yours (and mny other Oric character generators ) do on Oric.