Oric Character Generator

Questions, bug reports, features requests, ... about the Oric Software Development Kit. Please indicate clearly in the title the related element (OSDK for generic questions, PictConv, FilePack, XA, Euphoric, etc...) to make it easy to locate messages.

User avatar
Chema
Game master
Posts: 1972
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Re: Oric Character Generator

Post by Chema » Tue Oct 11, 2016 1:05 pm

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 "!"
            ...

User avatar
peacer
Flight Lieutenant
Posts: 349
Joined: Wed Jun 09, 2010 9:23 pm
Location: Turkey
Contact:

Re: Oric Character Generator

Post by peacer » Tue Oct 11, 2016 5:45 pm

- 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 31 times

User avatar
coco.oric
Flight Lieutenant
Posts: 412
Joined: Tue Aug 11, 2009 9:50 am
Location: North of France
Contact:

Re: Oric Character Generator

Post by coco.oric » Tue Oct 11, 2016 9:39 pm

Bravo, and thanks for this modern tool.
coco.oric as DidierV, CEO Member
Image Image

User avatar
iss
Flight Lieutenant
Posts: 470
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Oric Character Generator

Post by iss » Tue Oct 11, 2016 10:13 pm

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).

User avatar
peacer
Flight Lieutenant
Posts: 349
Joined: Wed Jun 09, 2010 9:23 pm
Location: Turkey
Contact:

Re: Oric Character Generator

Post by peacer » Tue Oct 11, 2016 11:42 pm

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 35 times

User avatar
peacer
Flight Lieutenant
Posts: 349
Joined: Wed Jun 09, 2010 9:23 pm
Location: Turkey
Contact:

Re: Oric Character Generator

Post by peacer » Wed Oct 12, 2016 8:03 pm

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 26 times
Note : I've added Comctl32.ocx to the archive

Brana
Flying Officer
Posts: 150
Joined: Fri Nov 30, 2007 8:30 pm
Contact:

Re: Oric Character Generator

Post by Brana » Sat Feb 18, 2017 3:08 am

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.
Attachments
SCREEN6.jpg
SCREEN6.jpg (48.4 KiB) Viewed 719 times
SCREEN5.jpg
SCREEN5.jpg (48.82 KiB) Viewed 719 times
SCREEN4.jpg
SCREEN4.jpg (41.98 KiB) Viewed 719 times

User avatar
peacer
Flight Lieutenant
Posts: 349
Joined: Wed Jun 09, 2010 9:23 pm
Location: Turkey
Contact:

Re: Oric Character Generator

Post by peacer » Sun Feb 19, 2017 6:39 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest