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

0 Members and 1 Guest are viewing this topic.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Half Life 2: On-Calc
« Reply #135 on: April 09, 2010, 06:58:07 pm »
Looks very nice.
Spoiler For Spoiler:



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

Offline Will_W

  • LV3 Member (Next: 100)
  • ***
  • Posts: 54
  • Rating: +1/-1
    • View Profile
Re: Half Life 2: On-Calc
« Reply #136 on: April 09, 2010, 06:58:53 pm »
you still have the hardware timer, so you wouldn't lose compatibility with older calcs if there was one
ex de,hl
ld (hl),e
inc hl
ld (hl),d
ld a,(hl)

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: On-Calc
« Reply #137 on: April 09, 2010, 07:00:25 pm »
The 83+ regular has no hardware clock. Unless you mean it in a different way?

I think the 83+SE does, though, just no OS clock features.

Offline Will_W

  • LV3 Member (Next: 100)
  • ***
  • Posts: 54
  • Rating: +1/-1
    • View Profile
Re: Half Life 2: On-Calc
« Reply #138 on: April 09, 2010, 07:03:42 pm »
the 83+ has 2 hardware timers
the 83+SE had 2 hardware timers and 3 crystal timers
the 84+ has 2 hardware timers, 3 crystal timers, and a clock.

the hardware timers are responsible for interrupts, but are not very accurate, and can vary greatly depending on the remaining battery life.
« Last Edit: April 09, 2010, 07:04:40 pm by Will_W »
ex de,hl
ld (hl),e
inc hl
ld (hl),d
ld a,(hl)

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: On-Calc
« Reply #139 on: April 09, 2010, 07:06:32 pm »
Oh ok I was sure you meant clock functions. I confused those timers with crystal timers x.x. I guess they could indeed be useful for the game speed

Offline Will_W

  • LV3 Member (Next: 100)
  • ***
  • Posts: 54
  • Rating: +1/-1
    • View Profile
Re: Half Life 2: On-Calc
« Reply #140 on: April 09, 2010, 07:08:02 pm »
The crystal timers would be nice to see in Axe, but would leave out the 83+, conditional compiling could take care of that though.
ex de,hl
ld (hl),e
inc hl
ld (hl),d
ld a,(hl)

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Half Life 2: On-Calc
« Reply #141 on: April 09, 2010, 07:35:58 pm »
the 83+ has 2 hardware timers
the 83+SE had 2 hardware timers and 3 crystal timers
the 84+ has 2 hardware timers, 3 crystal timers, and a clock.

I'm almost certain that the 83+SE does not have crystal timers, where did you get that information?  And what do you mean by hardware timers?

You can make your own timers with interrupts once I get that working.
___Axe_Parser___
Today the calculator, tomorrow the world!

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: On-Calc
« Reply #142 on: April 09, 2010, 07:38:01 pm »
the 83+ has 2 hardware timers
the 83+SE had 2 hardware timers and 3 crystal timers
the 84+ has 2 hardware timers, 3 crystal timers, and a clock.

I'm almost certain that the 83+SE does not have crystal timers, where did you get that information?  And what do you mean by hardware timers?

You can make your own timers with interrupts once I get that working.
83+SE certainly does have crystal timers. The only hardware difference between TI-83+SE and TI-84+SE is the real-time clock and the USB.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Half Life 2: On-Calc
« Reply #143 on: April 09, 2010, 07:38:44 pm »
What is a crystal timer?
Spoiler For Spoiler:



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

Offline Will_W

  • LV3 Member (Next: 100)
  • ***
  • Posts: 54
  • Rating: +1/-1
    • View Profile
Re: Half Life 2: On-Calc
« Reply #144 on: April 09, 2010, 07:39:39 pm »
The 83+SE has 3 32kHz crystal timers accessed via ports 30-38h.
http://www.michaelv.org/programs/calcs/ports/
the hardware timer is what causes the interrupts to occur 120ish times a second.
Edit: ninja'd by calc84, master of the crystal timers.
« Last Edit: April 09, 2010, 07:40:11 pm by Will_W »
ex de,hl
ld (hl),e
inc hl
ld (hl),d
ld a,(hl)

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: On-Calc
« Reply #145 on: April 09, 2010, 07:43:42 pm »
Yeah I heard the SE had a crystal timer a few years ago. There were a few more recent discussions on IRC from BrandonW asking why TI didn't include a clock in the 83+SE because apparently it could be possible.

Offline Will_W

  • LV3 Member (Next: 100)
  • ***
  • Posts: 54
  • Rating: +1/-1
    • View Profile
Re: Half Life 2: On-Calc
« Reply #146 on: April 09, 2010, 07:46:09 pm »
you can keep track of time easy.  someone hacked some clock functionality into the OS once.  But it doesn't update while the calc is off.
ex de,hl
ld (hl),e
inc hl
ld (hl),d
ld a,(hl)

SirCmpwn

  • Guest
Re: Half Life 2: On-Calc
« Reply #147 on: April 09, 2010, 08:14:08 pm »
That sounds like a good idea, and I may do it later on, but for now I will keep it this way.
Also, attached is a demo ^_^
You're welcome.

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: On-Calc
« Reply #148 on: April 09, 2010, 08:31:05 pm »
NICE! I'll try it right now ^^

SirCmpwn

  • Guest
Re: Half Life 2: On-Calc
« Reply #149 on: April 09, 2010, 08:32:15 pm »
Let me know what you think, as well as:
Calcualtor model
Free RAM/ROM
OS Version
Last letter of your serial number