Symbols

Got a brilliant program idea? Let us know!

Moderator: MaxCoderz Staff

merthsoft
Extreme Poster
Posts: 496
Joined: Tue 21 Dec, 2004 6:49 am
Location: WI

Symbols

Post by merthsoft »

If this idea has already been made, just flame me, but I think a good app to have would be one that has a menu (like a second option for catalogue) that has the full character map of the clac (including all symbols, numbers, and letters), and (if possible) allows them in your calc withought it being replaced with a "?"...
Would that be possible?
Shaun
User avatar
DJ_O
Calc King
Posts: 2324
Joined: Mon 20 Dec, 2004 6:47 pm
Location: Quebec (Canada)
Contact:

Post by DJ_O »

might be useful for MLC 83 since the 86 version use many chars that the 83 cannot access in BASIC menus
Image Image Image Now active at https://discord.gg/cuZcfcF (CodeWalrus server)
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

There was such a program a looong time ago by Bill Nagel... Really simple program that would output any character given a value in X... I can't find it at the moment... Aah, what the heck, I'll make it for you:

Code: Select all

#include "source/includes/header.inc"

	ld	a,'X'
	call	getVar
	bcall(_putc)
	ret
	
getVar:
	push	af
	bcall(_zeroop1)
	ld	hl,op1+1
	pop	af
	ld	(hl),a
	bcall(_rclvarsym)
	bcall(_convop1)
	ret
	
.end
END
Download

Try this with it:

Code: Select all

For(X,0,255
Send(9prgmZPUTC      /      Asm(prgmZPUTC
End
Wooo, it outputs all chars! ;)
User avatar
DJ_O
Calc King
Posts: 2324
Joined: Mon 20 Dec, 2004 6:47 pm
Location: Quebec (Canada)
Contact:

Post by DJ_O »

Of course u have to port it to the plus and change the Send(9 cmd by Asm( :wink:
Image Image Image Now active at https://discord.gg/cuZcfcF (CodeWalrus server)
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Timendus wrote:

Code: Select all

For(X,0,255
Send(9prgmZPUTC  /  Asm(prgmZPUTC
End
Though I kinda had done that... There's a 83 and a 83+ version in the zip file...

Edit: Playing with the includes from Mallard... Who wants the Ti-73 version? :)
User avatar
dysfunction
Calc Master
Posts: 1454
Joined: Wed 22 Dec, 2004 3:07 am
Location: Through the Aura

Post by dysfunction »

Sweet, second ever TI-73 asm program!
Image


"You're very clever, young man, but it's turtles all the way down!"
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Too bad it can only be run through the shell, so it has zero purpose ;)
User avatar
DJ_O
Calc King
Posts: 2324
Joined: Mon 20 Dec, 2004 6:47 pm
Location: Quebec (Canada)
Contact:

Post by DJ_O »

And I don't know if the 73 has those special chars
Image Image Image Now active at https://discord.gg/cuZcfcF (CodeWalrus server)
Snake
New Member
Posts: 35
Joined: Thu 17 Mar, 2005 7:49 pm
Location: Currently violently murdering terrorist in a deep jungle somewhere in Tselinoyarsk.
Contact:

Post by Snake »

so what your program does is displaying ascii caracters on the screen and it permit you to copy it in a basic program (kind of...)

pretty cool if i'm not totaly dumb, i could use this in my project to display better graphics
This is Snake, do you read me?
merthsoft
Extreme Poster
Posts: 496
Joined: Tue 21 Dec, 2004 6:49 am
Location: WI

Post by merthsoft »

Sweet...
Shaun
merthsoft
Extreme Poster
Posts: 496
Joined: Tue 21 Dec, 2004 6:49 am
Location: WI

Post by merthsoft »

Eh, sorry, but turns out that this isn't quite what I wanted, maybe if you could store what was just output as a string, so you could recall it, that would be nice.
Shaun
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Well ehm Bill Nagel's idea behind this was that you could store your text in a list instead of a string, and then you'd call a second Basic program to display the text for you with zputc...

And I'm not sure it is possible to have all characters in a string or in the Basic editor. But I'll go give it a shot for you...

Edit: Nope, that doesn't seem to be possible. All characters other than the capitals are interpreted as tokens... And it doesn't look pretty ;)
I'm afraid you'll have to do it Bill's way:

Code: Select all

PROGRAM:TEST
{72,101,108,108,111}->L1
prgmOUTPUT
Stop

PROGRAM:OUTPUT
For(A,1,dim(L1
L1(A->X
Send(9prgmZPUTC   /   Asm(prgmZPUTC
End
Return
Will output "Hello"... or whatever you want depending on the contents of L1 or course...
merthsoft
Extreme Poster
Posts: 496
Joined: Tue 21 Dec, 2004 6:49 am
Location: WI

Post by merthsoft »

I figured as much, but that's kinda slow and sloppy, that's why an app would be nice, mybe work how the early omnicalc did, and paste it into the program...
Shaun
User avatar
DJ_O
Calc King
Posts: 2324
Joined: Mon 20 Dec, 2004 6:47 pm
Location: Quebec (Canada)
Contact:

Post by DJ_O »

If you use Omnicalc font editor found at ticalc.org you can use the symbols you don't use often in games and change them so they look like graphical sprites
Image Image Image Now active at https://discord.gg/cuZcfcF (CodeWalrus server)
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Merthsoft wrote:I figured as much, but that's kinda slow and sloppy, that's why an app would be nice, mybe work how the early omnicalc did, and paste it into the program...
Well, since I am a Ti-83 programmer, I know virtually nothing of flash apps :)
But I don't really think it would be that easy... I'll let someone who can give an actual reason behind that feeling do the talking now ;)

Apart from that, I could update the zputc thingy to output the list by itself (and not just one char), or use a string with hexcodes as input..? If anyone is interested/has ideas, just give a shout.
Post Reply