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: 3013
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Re: Oric Character Generator

Post 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 "!"
            ...
User avatar
peacer
Flight Lieutenant
Posts: 451
Joined: Wed Jun 09, 2010 9:23 pm
Location: Turkey
Contact:

Re: Oric Character Generator

Post 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 532 times
User avatar
coco.oric
Squad Leader
Posts: 720
Joined: Tue Aug 11, 2009 9:50 am
Location: North of France
Contact:

Re: Oric Character Generator

Post by coco.oric »

Bravo, and thanks for this modern tool.
coco.oric as DidierV, CEO Member
Historic owner of Oric, Apple II, Atari ST, Amiga
User avatar
iss
Wing Commander
Posts: 1637
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Oric Character Generator

Post 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).
User avatar
peacer
Flight Lieutenant
Posts: 451
Joined: Wed Jun 09, 2010 9:23 pm
Location: Turkey
Contact:

Re: Oric Character Generator

Post 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 587 times
User avatar
peacer
Flight Lieutenant
Posts: 451
Joined: Wed Jun 09, 2010 9:23 pm
Location: Turkey
Contact:

Re: Oric Character Generator

Post 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 649 times
Note : I've added Comctl32.ocx to the archive
Brana
Flying Officer
Posts: 169
Joined: Fri Nov 30, 2007 8:30 pm
Contact:

Re: Oric Character Generator

Post 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.
Attachments
SCREEN6.jpg
SCREEN6.jpg (48.4 KiB) Viewed 15053 times
SCREEN5.jpg
SCREEN5.jpg (48.82 KiB) Viewed 15053 times
SCREEN4.jpg
SCREEN4.jpg (41.98 KiB) Viewed 15053 times
User avatar
peacer
Flight Lieutenant
Posts: 451
Joined: Wed Jun 09, 2010 9:23 pm
Location: Turkey
Contact:

Re: Oric Character Generator

Post 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.
User avatar
peacer
Flight Lieutenant
Posts: 451
Joined: Wed Jun 09, 2010 9:23 pm
Location: Turkey
Contact:

Re: Oric Character Generator

Post by peacer »

I had to explain how to setup the program. Unfortunately you need to register two files . These two files are Visual Basic runtime files needed for the program to run. Unfortunately I don't know easier way to setup these.

First download it from here
download/file.php?id=738

To run the program, you need to copy these files into C:\Windows\System32 directory under windows . You can find these files in the uploaded compressed file.

COMCTL32.OCX
COMDLG32.OCX

Then type CMD on windows search, right click and "run as administrator"

In the dos windows type these
regsvr32 comdlg32.ocx
regsvr32 comctl32.ocx

If you are using 64 bit windows, you need to copy these files into C:\Windows\SysWOW64 too and repeat the steps above.

If you do these steps, the program still works perfectly. I tried on windows 10 64 bit..
Post Reply