how do i access character rom longs
justin weber
Posts: 36
can i get a description of how i would go about reading the character rom table starting at $8000 into a buffer.
I've tried declaring a long of 100 and then did a longmove. After that I tried printing it to hyperterminal using "serial".bin(buff,100). I guess i'm just asking for an example of how to copy character rom into a buffer of longs,bytes or words of my choice. Somewhere on this forum there was a guy who modified the vga_512x384 spin object(vga asm graphics) to include a method for printing characters. While this is working great the characters are way to big and i need to scale them down. I used to do this kind of stuff on the Ti-89 graphing calculator by printing the character to the screen then going down 16x16 pixels and mapping a 1 to the locations that are lit and a 0 to the ones that aren't. When finished with the ascii set I had a huge matrix of the characters(longs in this case) and then I would simply scale them down by not printing every other bit. or printing bits twice if I needed them bigger. Of course this would fill up all the free longs of program space. So i want to do it with an algorithm on the fly, using the built-in characters. But I can't even get one character read in for some reason.
The whole purpose of this is i've created a program to help me read music, i have the staff drawn and from one note below the staff(d) to one note above the staff(g) and i'm using realrandom to pick the notes. I even have sound. Now I want to have a staff below the notes to include the tablature version to help me in learning scales on the guitar. The problem is I need smaller letters/numbers on a maximum resolution LCD of 1024x768. My brother permently borrowed my vga box, so i'm stuck with a crappy 15" LCD, otherwise I would be able to use the TV terminal stuff. Any help on reading and doing math on the character rom set would be greatly appreciated.
I've tried declaring a long of 100 and then did a longmove. After that I tried printing it to hyperterminal using "serial".bin(buff,100). I guess i'm just asking for an example of how to copy character rom into a buffer of longs,bytes or words of my choice. Somewhere on this forum there was a guy who modified the vga_512x384 spin object(vga asm graphics) to include a method for printing characters. While this is working great the characters are way to big and i need to scale them down. I used to do this kind of stuff on the Ti-89 graphing calculator by printing the character to the screen then going down 16x16 pixels and mapping a 1 to the locations that are lit and a 0 to the ones that aren't. When finished with the ascii set I had a huge matrix of the characters(longs in this case) and then I would simply scale them down by not printing every other bit. or printing bits twice if I needed them bigger. Of course this would fill up all the free longs of program space. So i want to do it with an algorithm on the fly, using the built-in characters. But I can't even get one character read in for some reason.
The whole purpose of this is i've created a program to help me read music, i have the staff drawn and from one note below the staff(d) to one note above the staff(g) and i'm using realrandom to pick the notes. I even have sound. Now I want to have a staff below the notes to include the tablature version to help me in learning scales on the guitar. The problem is I need smaller letters/numbers on a maximum resolution LCD of 1024x768. My brother permently borrowed my vga box, so i'm stuck with a crappy 15" LCD, otherwise I would be able to use the TV terminal stuff. Any help on reading and doing math on the character rom set would be greatly appreciated.
Comments
You can also acccess individual longs with "long[noparse][[/noparse]$8000][noparse][[/noparse] x ]" where "x" is your index into the ROM.