Author Topic: Bonjour!  (Read 10522 times)

0 Members and 1 Guest are viewing this topic.

Offline Insorak

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +4/-0
  • Omnimaga n00b
    • View Profile
Bonjour!
« on: December 07, 2009, 05:48:41 pm »
Hello! I'm Fred, a currently sixteen-year old highschool student running on six hours of sleep a day and still finding some time to improve his TI-BASIC skills.

Hoping to contribute a few games eventually... I'll put in right now that there has been some truly amazing work done here, and I hope that I can attain that level of awesomeness some day!

I'm a calculator dabbler... I know more ways to clear RAM (and to mess up your calculator while not clearing RAM) than most non-ASM programmers probably do... ever tried giving CODEX invalid inputs? Don't. It can do bad things to your screen.  :o

Anyways, that's all for now... if you have any questions, just ask... I'll answer them, eventually, I promise... :P
(re)working on Anti-RPG: 3% completion

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Bonjour!
« Reply #1 on: December 07, 2009, 05:52:16 pm »
Hi!

My favorite RAM clear is running AsmProg00
:) Try it!

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
bonjour
« Reply #2 on: December 07, 2009, 05:54:05 pm »
Welcome! Bring the good stuff soon.

And more care about bad inputs. Some LCD stuff can damage it...

Hi!

My favorite RAM clear is running AsmProg00
:) Try it!
It will basically do the calculator execute random code after the place the program is in RAM...
« Last Edit: December 07, 2009, 05:55:50 pm by Galandros »
Hobbing in calculator projects.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Bonjour!
« Reply #3 on: December 07, 2009, 06:02:48 pm »
Can that be very bad?
(Like worse than a RAM clear?)

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Bonjour!
« Reply #4 on: December 07, 2009, 06:18:03 pm »
Can that be very bad?
(Like worse than a RAM clear?)
Depends on what you have on your calculator (ram). Frequently the cpu will execute code until a "ret" instruction or reach the ram execution page limit (what limits asm programs executable part being bigger than 16 kbs, well this can be overcome with smart programming). TI-OS can take the control normally but because probably some code changed RAM, the OS will do a RAM Clear.

But it is somewhat unlikely to happen anything worse than a RAM clear. ASCII data as z80 opcode is frequently loading instructions between registers (not harmful) but TI-BASIC tokens can bring more dangerous instructions... Also if right after the AsmPrgm00 there is a ASM program (not shell specific and squished) it can be executed normally. XD

I think you have beaten a teaser of the smaller code to RAM clear. xD
« Last Edit: December 07, 2009, 06:22:33 pm by Galandros »
Hobbing in calculator projects.

Offline Insorak

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +4/-0
  • Omnimaga n00b
    • View Profile
Re: Bonjour!
« Reply #5 on: December 07, 2009, 09:42:45 pm »
Waitwaitwait...

AsmPrgm00? That gives me a syntax error. I must be missing something.
(re)working on Anti-RPG: 3% completion

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Bonjour!
« Reply #6 on: December 07, 2009, 10:06:43 pm »
When you run it (in a program, as the first and only line) you need the Asm( token in front of it. :)

Offline Insorak

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +4/-0
  • Omnimaga n00b
    • View Profile
Re: Bonjour!
« Reply #7 on: December 07, 2009, 11:00:12 pm »
Ahh! Okay. I'll have to try that tomorrow. :P

Have you tried things like {4,20,20,0,0:Asm(prgmCODEX? Whenever I do something like that my screen turns upside down and the contrast fades to zero, and it won't go up to a point where math is actually doable. The only way to get rid of it is a battery pull!
(re)working on Anti-RPG: 3% completion

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Bonjour!
« Reply #8 on: December 07, 2009, 11:41:32 pm »
Sounds almost like something you can do with Celtic III when you try to pass decimals in it's screenshift command :p
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Bonjour!
« Reply #9 on: December 08, 2009, 12:07:17 am »
Nice to see you're still around ^^

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Bonjour!
« Reply #10 on: December 08, 2009, 04:36:29 pm »
Hi, and welcome to Omnimaga ;D

Here are some complementary peanuts


On a side note, one way to always clear RAM is with AsmPrgmC7.  It makes the calculator think you pulled the batteries so it resets :D
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Bonjour!
« Reply #11 on: December 08, 2009, 04:39:33 pm »
Really! That's soooo cool!
*Tries*
Edit: It works. :)
I like that. What's at C7?
« Last Edit: December 08, 2009, 04:40:51 pm by ztrumpet »

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Bonjour!
« Reply #12 on: December 08, 2009, 04:45:09 pm »
Really! That's soooo cool!
*Tries*
Edit: It works. :)
I like that. What's at C7?

C7 is the "rst 00h" opcode, which calls address $0000 (which holds the code that happens before a ram clear)
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Insorak

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +4/-0
  • Omnimaga n00b
    • View Profile
Re: Bonjour!
« Reply #13 on: December 11, 2009, 03:05:44 pm »
I have to try those RAM clears when I get my RPG files out of my calculator!

Thanks for the peanuts, yum yum. Peanut butter jelly time!
(re)working on Anti-RPG: 3% completion

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Bonjour!
« Reply #14 on: December 11, 2009, 04:52:25 pm »
I have once caused a strange Memory Clear when I tried to run a TI-BASIC program seriously. :o

What is the satisfaction to see RAM Clear? ???
Hobbing in calculator projects.