Author Topic: Half Life 2: On-Calc  (Read 76600 times)

0 Members and 2 Guests are viewing this topic.

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: Half Life 2
« Reply #30 on: March 18, 2010, 06:05:56 pm »
Oh ok, I guess I might have misunderstood Quigibo comments when we discussed about lists storage x.x

what about storing several numbers in a list, though, do you do

{1,2,5,65,127,0,26,114->L1

?

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Half Life 2
« Reply #31 on: March 18, 2010, 06:08:27 pm »
Hey does anyone know how to store signed numbers in a list?  Like storing 9001 ;) to {L1}?  I've been struggling to get the physics to work with small numbers.
Do you mean 16-bit numbers? You can do that by storing to two consecutive bytes. (Quigibo said he was going to make a shortcut command for this later)

:A->{L1}
:A/256->{L1+1}
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

SirCmpwn

  • Guest
Re: Half Life 2
« Reply #32 on: March 18, 2010, 06:10:18 pm »
Holy crap really?
Also, how do you retrieve them?

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: Half Life 2
« Reply #33 on: March 18, 2010, 06:10:20 pm »
Oh ok, I guess I might have misunderstood Quigibo comments when we discussed about lists storage x.x

what about storing several numbers in a list, though, do you do

{1,2,5,65,127,0,26,114->L1

?
That's where it's hard.
I guess you could do this:

[01020541001A72->GDB1
For(A,0,7
{GDB1+A}->{L1+A}
End

This is where the problem is: You have to store it in Hex, because so far this is all Axe supports.  However, eventually normal lists will be available. :)

=======
Edit:
Holy crap really?
Also, how do you retrieve them?
{L1+1}*256+{L1}->A
« Last Edit: March 18, 2010, 06:23:46 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: Half Life 2
« Reply #34 on: March 18, 2010, 06:13:56 pm »
Holy crap really?
Also, how do you retrieve them?
:{L1+1}*256+{L1}
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

SirCmpwn

  • Guest
Re: Half Life 2
« Reply #35 on: March 18, 2010, 06:14:46 pm »
WOAH! That makes my life about 9001 times easier.

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: Half Life 2
« Reply #36 on: March 18, 2010, 06:17:47 pm »
Calc84, our methods are contradicting.  Which is correct?

Edit: calc84's right. :D  I forgot he stored them little endian. ;D (My post has been edited.)
« Last Edit: March 18, 2010, 06:20:29 pm by ztrumpet »

SirCmpwn

  • Guest
Re: Half Life 2
« Reply #37 on: March 18, 2010, 06:20:11 pm »
I just tested it, Calc84 is right.

*EDIT*
Ninja'd
« Last Edit: March 18, 2010, 06:20:31 pm by SirCmpwn »

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: Half Life 2
« Reply #38 on: March 18, 2010, 06:22:42 pm »
Aaah ok so this is where I saw the hex stuff. For individual stuff you can store as integers but for entire list storage at once, hex x.x

Hopefully Quigibo will fix this (I really hope, cuz lists can be handy at times)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Half Life 2
« Reply #39 on: March 18, 2010, 06:40:07 pm »
WOAH! That makes my life about 9001 times easier.
Thats over 9000!!!!!
Can't wait to see some screenshots and such :)
/e

SirCmpwn

  • Guest
Re: Half Life 2
« Reply #40 on: March 18, 2010, 06:41:56 pm »
FINALLY SOMEONE SAYS IT'S OVER 9000!!!!!
Anyway...
There is an old screenshot on the first page of this thread.

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: Half Life 2
« Reply #41 on: March 18, 2010, 06:47:28 pm »
Wait, 9000?? That's impossible

I can,t wait to see more progress :)

SirCmpwn

  • Guest
Re: Half Life 2
« Reply #42 on: March 18, 2010, 06:48:38 pm »
What emulator has support for making gifs and shows contrast differences?  Cause the screenie on the first page has contrast adjustment, it just doesn't show up.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Half Life 2
« Reply #43 on: March 18, 2010, 06:49:57 pm »
Well WabbitEmu can show greyscale and make GIFs but I don't think any can do contrast.
/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: Half Life 2
« Reply #44 on: March 18, 2010, 06:52:49 pm »
PindurTI, but it only runs the regular 83+ and has no keypad. Keys are the same as WabbitEmu, though.

Else, you can use CalcCapture and set it up for WabbitEmu (it,s possible if you check hard enough. Hence why this file is also in the Casio/HP downloads), but the screenshot quality is not as good.

http://www.omnimaga.org/index.php?action=downloads;sa=view;down=267
http://www.omnimaga.org/index.php?action=downloads;sa=view;down=229