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 - Galandros

Pages: 1 ... 29 30 [31] 32 33 ... 84
451
Site Feedback and Questions / Re: Ads for Internet Explorer users
« on: April 17, 2010, 03:00:04 pm »
IE have the, somewhat stupid (although useful to fix its damn bugs) and probably proprietary, "conditional comments".
Using them to solve the problem is something like:
<!--[if IE]>
<div class="IEclass">
<img scr="getfirefox.png" /><img scr="getopera.png" />
</div>
<![endif]-->
this will only be displayed in IE.

More things about this: http://www.javascriptkit.com/howto/cc2.shtml
http://msdn.microsoft.com/en-us/library/ms537512%28VS.85%29.aspx

By the way, Chrome is also a nice one. The 3 are all good and I like some features in each of the 3.

I prefer to say to users to use the latest browser version. IE8 is quite decent if is in standards mode activated by a doctype, I think.

452
Project M (Super Mario) / Re: Project M Reboot
« on: April 17, 2010, 08:00:41 am »
Epic sound. I can play some part of it in a guitar. xD

Will be added sound to events like death, fall, kill enemies, etc? I love the things that calcmaniac84 can do. I hope I can do some of my own, someday. ^^

453
Introduce Yourself! / Re: Peanuts!
« on: April 17, 2010, 07:46:19 am »
Welcome.

I hope one day you can share in this forums some cool screenies. ;)

454
Art / Re: Hay Bale Pixel Art
« on: April 17, 2010, 07:43:41 am »
Nice pixel art, I enjoyed seeing it too. :P

455
Miscellaneous / Re: Rubik's Cube
« on: April 17, 2010, 07:36:19 am »
Eh nice. When summer holidays come I will try. I have some crappy Rubiks (small or kinda need oil) but some extra challenge is healthy.

Is impression of mine or Rubiks with images on each face instead of a colour are harder? (you have to rotate the one of 9 image piece correctly)

456
ASM / ASM Delvar - Clean and free up from BASIC variables
« on: April 17, 2010, 07:34:12 am »
Coded this morning. Not that useful but just some practise and wanted to do.
This is an assembly version of DelVar ADelVar B(...)DelVar /theta/.

Features for now:
- custom builds
- small, fast and stable
- TI-83+ and some TI-83 compatibility

Suggested uses:
 - include in your custom asm library to TI-BASIC, this is a faster and smaller way to clean up variables after use
 - can be also used in APPS that allocate memory, through bcall(_InsertMem), and in the case it has not enough memory (prompting the user or not is up to you),
try to free enough memory to execute.

Source Code:

Make sure you have a complete ti83plus.inc and ti83.inc. especially the ti83.inc. Check the src folder in the zip file attached.

- Deletes variables real and complex variables from A to Z and Theta
Code: [Select]
#ifdef TI83
#undefine DELARCVARS ; bcall(_DelVarArc) not documented in TI83
#undefine ZEROANS
#endif

;Delete Real and Complex Vars from A to Z and Theta
deleteAtoZaTheta:
#ifdef ZEROANS
bcall(_OP1Set0) ; This will set OP1 to FP 0 ( .db 0,$80,0,0,0,0,0,0,0)
bcall(_StoAns) ; Ans will be equal 0 (Ans can be a huge list or string and take huge space)
#else
bcall(_ZeroOP1) ; OP1 needs to be zeroed or it will not work for some reason
#endif
call deleteAZ ; (OP1) = RealObj = $00 because OP1 is zeroed
deleteAZcplx:
ld a,CplxObj
ld (OP1+0),a
deleteAZ:
ld a,tA
deleteAZloop:
push af
ld (OP1+1),a
bcall(_FindSym) ; look up
jr c,sdelarcAZ
#ifndef DELARCVARS
#ifndef TI83 ; TI-83 does not have flash
inc b ;\
dec b ; | if b!=0 (it is in flash), then skip
jr nz,sdelarcAZ ;/
#endif
bcall(_DelVar) ; delete variable only if in RAM
#else
bcall(_DelVarArc)
#endif
sdelarcAZ:
pop af
inc a
cp tTheta+1
jr nz,deleteAZloop
ret

;OPTIMIZE TRY: use ld hl,OP1, push and pop hl in deleAZloop
;and other changes but is exactly the same size

deleteAtoZaThetaEnd:

 .echo "code size: ",deleteAtoZaThetaEnd-deleteAtoZaTheta

- Deletes many variables: A-Z and Theta, L1-L6, [A]-[Z], Y1-Y6, X1T-X6T, Y1T-Y6T, r1-r6 and u-w.
- DOES NOT WORK WITH TI-83 besides has some #if's for TI-83 in my attempt to work
Code: [Select]
;Clean Up Basic Variables
;all numbers A-Z and /theta/, lists L1 to L6, matrices [A]-[J], Ans, graphics functions
;detects real and complex numbers or lists
CleanUpBASICvars:
#ifndef TI83
bcall(_CleanAll) ; delete all temp variables
#endif
#ifdef ZEROANS
bcall(_OP1Set0) ; This will set OP1 to FP 0 ( .db 0,$80,0,0,0,0,0,0,0)
bcall(_StoAns) ; Ans will be equal 0 (Ans can be a huge list or string and take huge space)
#else
bcall(_ZeroOP1) ; OP1 needs to be zeroed or it will not work for some reason
#endif
ld ix,OP1 ; the pointer
ld d,0 ; a flag for activate equ create with 0 bytes (needed to not crash TI-OS)
; it is preserved in deletevars2
ld c,d ; c = RealObj = $00
ld a,tA ; (OP1+0) = $00 = RealObj, already
ld b,tTheta+1
call deletevars2
ld c,CplxObj
ld a,tA
; ld b,tTheta+1 ; it was preserved!
call deletevars2

;these vars have 3 bytes, so a smart solution is coded
inc ix
ld e,d ; e = RealObj = $00
ld c,tVarLst
ld a,tL1
ld b,tL6+1
call deletevars3
ld e,CListObj
; ld c,tVarLst ; it was preserved!
ld a,tL1
; ld b,tL6+1 ; it was preserved!
call deletevars3
ld e,MatObj
ld c,tVarMat
ld a,tMatA
ld b,tMatJ+1
call deletevars3

inc d ; activate bcall(_Create0Equ)
ld e,EquObj
ld c,tVarEqu
ld a,tY1
ld b,tY0+1
call deletevars3
; ld e,EquObj
; ld c,tVarEqu ; it was preserved!
ld a,tX1T ;\tX1T to tX6T
ld b,tY6T+1 ;/tY1T to tY6T
call deletevars2
; ld e,EquObj
; ld c,tVarEqu ; it was preserved!
ld a,tR1
ld b,tR6+1
call deletevars2
; ld e,EquObj
; ld c,tVarEqu ; it was preserved!
ld a,tun
ld b,twn+1
;fall back

deletevars3:
ld (ix-1),e
deletevars2:
ld (ix+0),c
deletevarloop:
push af
push bc
push de ; all preserved
ld (ix+1),a
bcall(_FindSym) ; look up
jr c,sdelarc ; if doesn't exist, then skip
#ifndef DELARCVARS
#ifndef TI83 ; TI-83 does not have flash
inc b ;\
dec b ; | if b!=0 (it is in flash), then skip
jr nz,sdelarc ;/
#endif
bcall(_DelVar) ; delete variable only if in RAM
#else
bcall(_DelVarArc) ; delete variable archived or not
#endif
sdelarc:
pop de
inc d ;\
dec d ; | if d=0, then we don't need to recreate the equation var
jr z,notequvar ;/
bcall(_Create0Equ) ; OP1 destroyed, OP4 has variable name
bcall(_OP4toOP1) ; restore OP1 ^^
notequvar:
pop bc
pop af
inc a
cp b ; b holds the end value
jr nz,deletevarloop ; if we arrived b, then return
ret

; ld hl,OPFomarts
; rst 20h ; rMov9ToOP1 ; OP1 is variable
;OPFomarts:
; .db RealObj,tA,0,0,0,0,0,0,0
; .db CplxObj,tTheta,0,0
; .db RealObj,tVarLst,tL1,0
; .db CListObj,tVarLst,tL6,0
; .db MatObj, tVarMat, tMatA, 0
; .db MatObj, tVarMat, tMatJ, 0
; .db EquObj, tVarEqu, tY1, 0
; tY1 to tY9 and tY0, tX1T to tX6T, tY1T to tY6T, tR1 to tR6, tun, tvn, twn
; if graph equations do not exist, TI-OS will crash
;delete with bcall(_DelVar) and bcall(_Create0Equ)
; NewEquObj, what it does???

;ToDo:
;ClearEntries
;clear GDBs, Pics, Strs
;LRESID
;http://wikiti.brandonw.net/?title=83Plus:BCALLs:5041

cleanupBASICvarsend:

 .echo "code size: ",cleanupBASICvarsend-cleanupBASICvars

EDIT: rewritten post with recent code

457
Other Calculators / Re: 1337 Omnicalc fonts
« on: April 16, 2010, 02:37:53 pm »
Curious font. There are some fonts for Omnicalc worse than 1337 in readability. Some are all empty or blocks of black.

But the 1337 can be intriguing for more common people. ;D

It is a bit strange when sometimes I find something unexpected in my folders, they are pretty complex (but organized) and by mistake some things get moved and I never find them again (even with search). Sometimes I get good surprises. ;D

458
OmnomIRC Development / Re: OmnomIRC
« on: April 16, 2010, 02:24:37 pm »
Basically we wouldn't be able to display directory paths? Oh well, we can always type them in the same way as URLs, with / instead of \. I never understood why they made directory paths use a slower to access char on the keyboard.
I always have that in mind. But I also remember that you don't need to escape / :P

Excellent job on OmnomIRC, even if I have it minimized all the time I wander the forum. Only when I have no more topics to see, I will use it.

459
TI Z80 / Re: Concepts and Basic Information
« on: April 16, 2010, 02:19:52 pm »
Interesting question. (Will law and order triumph over chaos and discord?)
My best answer is everything decays to chaos no matter what we struggle. Dunno what the future tech and knowledge can change.

err, ontopic:
Original history. Is it going to enter in the game or readme? Or just serve as inspiration and concept for the game?
Good luck and put good playability into the game, that is so important on RTS.

460
Maybe if he uses benjamin's 3rd party boot code for z80 calcs and just send a upgrade file downloaded from education.ti. Hmm, I don't know if this actually works, I am not an expert.

461
I hope Calc84maniac 84+ emulator for the Nspire can run all undocumented instructions and the extra RAM so we can use Omnicalc virtual calc/mem and other stuff like that, altough for running GB games on the Nspire it will be more practical for people to just download gbc4nspire :P
lol
Better use gbc4nspire. But until some sound apps comes to Nspire, it would be cool to hear RealSound in the emulated TI-84+SE, anyway. :P
(oh no, an idea to calcmaniac... ._.)

462
Depends on the changes.

In the past there weren't programmers of the community offering to work to TI without answer or with negative answer? (Michael Vincent?)
I doubt, but it would be really cool. But (maybe?) Brandon would have to face divergence on most decisions by the boss. >:(
Working full time will make Brandon free all its projects. :D

463
Addiction to ti community in omnimaga IRC channels has quadruplicated. :o
Nice script, biggie for my taste but useful.

464
Humour and Jokes / Re: Forum reaches 31337 posts and 1337 topics
« on: April 16, 2010, 01:37:27 pm »
Omnimaga beating all marks possible... :P

465
It would be cool to be released by Nintendo. :P

I don't remember any notable company releasing some source code of some old software or game but sometimes they release freely some old classic. One example is an Elders' Scrolls old game for DOS by Bethesda, IIRC. You can freely play now with DOSBox.

Pages: 1 ... 29 30 [31] 32 33 ... 84