Miscellaneous Ideas
|
Post your ideas for new miscellaneous programs here, or build on ideas posted by other visitors.
|
|
Reply to this item
|
A WIRELESS NETWORK
|
bear24rw
|
I was just wondering if anyone was working on a wireless netwrok or something to that nature. so that you could transfer programs and such wirelessly to another person. it would have to be somekind of adapter or something that you would have to buy and plug into the port at the bottom of the cacl. if anyone or you know of anyone who is working on that please email me icewing24@msn.com
thanks
|
|
31 December 2003, 04:22 GMT
|
|
TCP/IP on calcs
|
Mark Qvist Petersen
|
Well, this is my idea: TCP/IP (internet communication) on calcs. Basically, i want to internet enable the new Ti-84+ calcs, but to make this happen i thought that i would try to get it to work on the Ti-83+ first. I have no idea how PPP and stuff like that are handled, but since it's going to be needed for people to connect with a modem (not the only possibility i have in mind), i will have to learn how the protocols work. So right now i'm asking everybody that knows the workings of TCP/IP and PPP for their help on this. I program in 83+ ASM, and i think that i have the experience needed to make the calc do this, but as i said before i need help with how the protocols work, so if anybody know ANYTHING about this or have ideas, suggestion or questions, please reply here or email me at m@danscape.dk.
Also, if anybody is interested in joining me in this project, let me know.
cheers!
(the only real concern i have about this is the 83+ linkports sad disability... i cannot send and transmit at the same time... i don't know if TCP/IP is possible to do with that kind of link...(?) but of course, this problem will be solved by the 84+'s USB port.)
|
|
11 January 2004, 17:49 GMT
|
|
HELP!! Arrays / OS file-system
|
shkaboinka
(Web Page)
|
I NEED ADVICE FROM ASM PROGRAMMERS:
I need to know how to use/make/manage arrays in asm.
I want to know how you asm programmers handle arrays;
resizing, moving, etc...
And temporary (non-global) vars; is the stack okay to
use?
Is there a way to use the OS's file system or whatever
to manage asm created vars for me? This involves stuff
like multi-dimensional arrays, passed & returned
values, OOP Objects containing OOP objects (All this IS
possible; no need to know how I am doing it)..
What do you do for this kind of stuff? Is there a way
to create temporary files / vars?
|
|
11 January 2004, 18:30 GMT
|
|
|
|
|
Re: HELP!! Arrays / OS file-system
|
Chivo
|
I assume by temporary (non-global) vars you mean small amounts of data a function uses while it's running. If this assumption is incorrect, please disregard this comment and rephrase your question more clearly.
C compilers most typically emit code which stores local variables (vars which are in scope to only one function) on the stack. On the Z80, there are two standard ways I know to access variables on the stack.
The first method (as used by SmallC) is to use HL. At the start of the stack frame, decrease SP to allocate space for local vars. To access a var, LD HL with the variable's offset from the start of the stack frame, then ADD HL,SP. This will put the var's address in HL. You can do anything with the variable using its address at this point.
The other method is to use IX as the stack frame register. PUSH IX, LD IX with the stack pointer, then decrease SP to allocate space for vars. Then to access a local var, just use (IX+n), where n is the offset from the top of the stack frame of the variable. This method is usually easier to code, but it uses two more bytes per variable access (but fewer bytes to get the address initially) than the first method.
It's your call which method you use. I like the first one because it's smaller, and I've gotten the hang of it already, so it's not a big deal to code with it.
|
|
28 February 2004, 20:39 GMT
|
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
You can change the number of comments per page in Account Preferences.
|