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

0 Members and 2 Guests are viewing this topic.

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 #60 on: March 18, 2010, 09:34:27 pm »
You can just do C:Asm(hexcodehere) and the value of the C variable will be in HL. :D You can also return values from Asm() by putting them in HL.
"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 #61 on: March 18, 2010, 09:56:32 pm »
Thanks to calc84maniac:
{E8447}->A will store the current TIOS contrast in A (E is the ^10 symbol, the little E)
A:Asm(7DC6D8D310) sets the contrast to A

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 #62 on: March 18, 2010, 10:18:40 pm »
And as I noted in SAX, only input numbers from 0 to 39 to that Asm routine. Other inputs might cause weird things like the blue lines of death
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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 #63 on: March 18, 2010, 10:22:56 pm »
Aaah nice.

I was quite lucky to see this in Cemetech TI-SAX on my visit on Kerm site  and kinda feared I would forget x.x

Basically we can store memory stuff to variables such as the contrast. I wouldn't be surprised if there were more we could do. I will have to check WikiTI for some more stuff. I, for one, am curious where is stored the screen shift position in the memory, because messing with this can become handy for earthquake effects (altough WabbitEmu won't render them :/)

@Calc84: noted. When I worked on ROL2 I messed around after backing up with ZCON (Michael_V) and tried to set lower or higher values to this and it effectively can do weird stuff. Same for screen shifting past 128 or 256 (I forgot)

SirCmpwn

  • Guest
Re: Half Life 2
« Reply #64 on: March 18, 2010, 11:35:06 pm »
I have uploaded a PDF that contains everything you may want to know about the game.  I'll update it more as development continues.  If you have questions, suggestions, or comments, please continue posting them here.

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 #65 on: March 18, 2010, 11:43:08 pm »
Nice :D

Offline JCW

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +3/-1
  • Atmospheric/Intelligent Junglist
    • View Profile
Re: Half Life 2
« Reply #66 on: March 18, 2010, 11:51:51 pm »
Wow, I'll have to keep my eye on this.
Former Administrator of TIMGUL (the international music generator users lounge)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Half Life 2
« Reply #67 on: March 19, 2010, 12:10:58 am »
Hey, I just took a look over my HL2 box...did you know the top of your lambda is backwards in the logo?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

SirCmpwn

  • Guest
Re: Half Life 2
« Reply #68 on: March 19, 2010, 12:38:49 am »
No way.  Crap.

*EDIT* Holy crap he's right.  It took me like 6 minutes to get that pic converted to hex >.< AND THEN I DELETED IT :*(
« Last Edit: March 19, 2010, 12:39:38 am 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 #69 on: March 19, 2010, 12:46:01 am »
Ouch, that sucks x.x

This is a bit why I dislike hex for storing pic, sometimes. I always loved how iN BASIC and libs you could edit pics directly, then immediately run the game to test, since the sprites were inside the pic.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Half Life 2
« Reply #70 on: March 19, 2010, 12:49:13 am »
Ya, I'm sorry for having to tell you, just thought you would wanna know :(
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

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 #71 on: March 19, 2010, 06:38:33 pm »
Actually, if you run Axe, then sometimes the current screen is left of the graph screen, so you could store it to a pic from there. :)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Half Life 2
« Reply #72 on: March 19, 2010, 06:47:33 pm »
yeah you just have to make sure that the Axes are off, and view the graphscreen so that the graphscreen is marked as displayed, or else it will be cleared the next time you try to go view it.

SirCmpwn

  • Guest
Re: Half Life 2
« Reply #73 on: March 19, 2010, 08:05:21 pm »
Yeah, I'm sure I can work it out.  Thanks!

SirCmpwn

  • Guest
Re: Half Life 2
« Reply #74 on: March 21, 2010, 10:27:23 pm »
Status Update
Sorry no screenshot, but here are the updates:
*Added support for Axe 0.1.3
*Added MirageOS support
*Added saving
*Redesigned physics to use 16 bit list support
*Added column to maps, shifted entire map over 1 pixel for eveness.