CPCWiki forum

General Category => Programming => Topic started by: The_Mole_UK on 15:42, 13 September 18

Title: (C)
Post by: The_Mole_UK on 15:42, 13 September 18
Is there a way to instantly TYPE the (C) symbol.
Can Softbrenner access it?


Like say, Control+C?


Thanks...



Title: Re: (C)
Post by: pelrun on 03:03, 14 September 18
There's no default means of typing arbitrary characters. Using control only gives you the codes below 32, and the copyright symbol is 164. But redefined function keys might work.

Try entering this in BASIC before launching Softbrenner:
key 128,chr$(164)
Then hit f0 when you want the symbol.


The other method is just to put something arbitrary there, then load the rom image into a hex editor and change it directly. Although that will also require you to fix the checksum.


Edit: got the character code wrong. Thanks AMSDOS!
Title: Re: (C)
Post by: The_Mole_UK on 01:32, 16 September 18
Thank you...
Will try tomorrow...


Currently I have to type C and then find the string, replace with A4.  Then fix the checksum...
Title: Re: (C)
Post by: AMSDOS on 01:51, 16 September 18
chr$(164) is the character you want (not chr$(160)).
Title: Re: (C)
Post by: The_Mole_UK on 11:10, 18 September 18
Thanks to both!
Sadly, did not work in Softbrenner.  So looks like it's a Hex Workshop Fix and changing my placeholder 'C' to A4.
https://drive.google.com/file/d/10YN7KHjg-QZWpRdsUIcKhwhu3snUBxFW/view?usp=sharing
https://drive.google.com/file/d/1WvOa6OYQ4kV5J3F1DfyIDjy3FlStYAQi/view?usp=sharing
Powered by SMFPacks Menu Editor Mod