Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - blue_bear_94

Pages: 1 ... 54 55 [56] 57 58 ... 68
826
TI Z80 / Re: Sunrise 3
« on: June 06, 2012, 04:43:21 pm »
So without further ado, here's another screenshot from 0.7:

827
TI Z80 / Re: Sunrise 3
« on: June 06, 2012, 04:31:28 pm »
No, the 15th of June. :P

828
News / Re: First Nspire OS 3.2 demo on a calculator
« on: June 06, 2012, 04:24:17 pm »
Yay for the Nspire owner.

829
TI Z80 / Re: Sunrise 3
« on: June 06, 2012, 03:58:29 pm »
Assuming no crashes or such, 0.8 is scheduled for 6/15.

830
Miscellaneous / Re: Post your desktop
« on: June 06, 2012, 03:25:59 pm »
What does your desktop look like with all those ponies running across it?

831
Miscellaneous / Re: Post your desktop
« on: June 06, 2012, 03:19:39 pm »
You're weird. Do you ever use it?

832
Miscellaneous / Re: Post your desktop
« on: June 06, 2012, 03:16:53 pm »
and ponies is just desktopponies
Clarification please?

833
Calculator C / Re: [68k] Storing a value into n?
« on: June 06, 2012, 03:15:36 pm »
I'm serializing/deserializing the fields so that the user will be able to open and close with the same FILE structure. Also, note that this is code from a library I'm writing. The problem is that this code gives me an address error:
Code: [Select]
case 25:
a=GetArgType(argptr);
if (a!=LIST_TAG)
{
DlgError("Arg 2 must be list");
return;
}
WriteListToFilePtr(argptr-1,fio);
fclose(fio);
fio is a pointer to the FILE structure declared before the switch statement.

834
Miscellaneous / Re: Post your desktop
« on: June 06, 2012, 02:29:05 pm »
You have a program named "Ponies?" With a pi icon?

835
Before whatever happens, can I port Illusiat 12 to the 68k calcs? Also, good thing you won't stop being here at least!

836
Calculator C / Re: [68k] Storing a value into n?
« on: June 06, 2012, 10:53:53 am »
Oh, I get ARB_INT_TAG now. It's like when you solve sin(x)=0, the solution is x=pi*@n1. Basically they're numbers into which anything can be stored and the solution is still true?
So I was using fopen and returning a list representing the FILE structure:
Code: [Select]
case 24:
a=GetArgType(argptr);
if (a!=STR_TAG)
{
DlgError("Arg 2 must be string");
return;
}
const char* f3=GetStrnArg(argptr);
fio=fopen(f3,"r+b");
push_END_TAG();
push_longint((long)fio->fpos);
push_longint((long)fio->base);
push_longint(fio->handle);
push_longint(fio->flags);
push_longint(fio->unget);
push_longint(fio->alloc);
push_longint(fio->buffincrement);
push_LIST_TAG();
VarStore(SYMSTR("n"),STOF_ESI,0,top_estack);
break;
The WriteListToFilePtr function writes back to the FILE structure:
Code: [Select]
void WriteListToFilePtr(ESI temp,FILE* fio)
{
int i=0;
long* u=NULL;
if (!(u=calloc(7,sizeof(long))))
return;
//clrscr();
for(i=0;i<7;i++)
{
u[i]=GetIntArg(temp);
//printf("u[%d]=%ld\n",i,u[i]);
}


fio->fpos=(char*)u[6];
fio->base=(void*)u[5];
fio->handle=u[4];
fio->flags=u[3];
fio->unget=u[2];
fio->alloc=u[1];
fio->buffincrement=u[0];
free(u);
}
Do these entries in the structure have to be written to in reverse order or is this order fine? Also, thanks for your help!

837
TI Z80 / Re: ORG: online Z80 IDE and assembler
« on: June 06, 2012, 10:49:06 am »
Couldn't you just build a binary?

838
It's sad to see you stop. Hopefully someone will umm... "take your place?"

839
Art / Re: General purpose art thread
« on: June 05, 2012, 07:55:34 pm »
No, he did it on the Nspire.
...well, it's only 65x45.

840
Art / Re: General purpose art thread
« on: June 05, 2012, 07:53:36 pm »
Quite impressive for drawing on the Nspire.

Pages: 1 ... 54 55 [56] 57 58 ... 68