Join us on Discord!
You can help CodeWalrus stay online by donating here.

Hobbies/ where are your calcs?

Started by alexgt, March 25, 2015, 10:10:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Snektron

I don't think axe has malloc build in o.o.. Also maybe i should just drop an error. anyway i will do pc first :P
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


DarkestEx

Quote from: Cumred_Snektron on June 14, 2015, 11:59:32 AM
I don't think axe has malloc build in o.o.. Also maybe i should just drop an error. anyway i will do pc first :P
No it has!
I already used it!
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

Snektron

  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


DarkestEx

Just Buffer(size) > A
and A then contains your pointer to the allocated space in ram
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

TheMachine02

Not exactly. This command isn't a malloc, it just create a free space inside program space. For app, it is only read-only since it is in ROM.
The real axe malloc is more this :

GetCalc("tmpMALLOC",size)->A


creating a temporary variable inside RAM, and deleting at exit automatically  :P

Snektron

Quote from: DarkestEx on June 14, 2015, 02:53:38 PM
Just Buffer(size) > A
and A then contains your pointer to the allocated space in ram

Also this doesn't have realloc and i'm going to rely pretty heavy on it :3

Quote from: TheMachine02 on June 14, 2015, 03:02:26 PM
Not exactly. This command isn't a malloc, it just create a free space inside program space. For app, it is only read-only since it is in ROM.
The real axe malloc is more this :

GetCalc("tmpMALLOC",size)->A


creating a temporary variable inside RAM, and deleting at exit automatically  :P

That would probably really slow since it uses TI routines <_<
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


DarkestEx

Well, Cumred, why don't you build it for KnightOS then?
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

Snektron

#82
KCC is based on SDCC, and thus it still packs the heap with the program. I could maybe make a malloc/callc/realloc/free axiom though (i might do this anyway), but i'll probably still end up using it for a z80 program. But that's okay. Also z80 is a little bit more attractive for this since i can spread my project over multiple files and still develop op PC :P
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Strontium

#83
Who needs hobbies when you have friends, right guys!?
which is why I have hobbies

My only calculator, a TI Nspire CX, stays in my backpack most of the time. If I go anywhere, though, I bring it with me and stick it in my pocket.
  • Calculators owned: TI Nspire CX, HP Prime
  • Consoles, mobile devices and vintage computers owned: NES

Ivoah

My hobbies are biking, frisbee, frisbee while biking, programming, electronics, linux, calcs (duh), and KSP.
My Nspire CX CAS and one of my TI-84+ SE's stay in my pockets all the time, the rest stay on the floor/on my desk in my room.
  • Calculators owned: TI-86 (now broken), TI SR-56, TI-Nspire CX CAS, TI-84+ SE, TI-84+ SE, TI-85, TI-73 Explorer VS, ViewScreen, TI-84+ CSE, TI-83+ SE

Dream of Omnimaga

Quote from: Cumred_Snektron on June 11, 2015, 06:10:27 PM
Let it out before it lays eggs O.O


Quote from: Cumred_Snektron on June 11, 2015, 08:29:48 PM
Maybe they can overlcok it too while they're at it. That makes me think, someone in my class had a game on his calc that enabled test mode (where the screen turns blue). It was quite scary actually since they didn't know it's a bad thing. I blame the maker though <_<
It might have been an old Ion game that only ran on OS 1.12 or lower. I noticed that those games sometimes break in newer versions.


Also, 2006 BASIC games that used xLIB sometimes used special effects called bluescale, which involved toggling test mode rapidly, which resulted into a less damaging, but still not very safe blue screen if the effect ran for a long while. It only worked on the 15 MHz models, because on those, making contrast go from higher values to very low, nearly invisible values instantly instead of gradually caused the screen to turn blue for a split second. The same thing happened in MirageOS when turning the calc OFF.

Quote from: DarkestEx on June 14, 2015, 03:17:56 PM
Well, Cumred, why don't you build it for KnightOS then?
I personally recommend against making a TI-83+/84+ program KOS-only, though. It's best to make it cross-compatible with the TI-OS too, because very few people will be able to use it.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Strontium

We need a walrus equivalent of Unidan.
  • Calculators owned: TI Nspire CX, HP Prime
  • Consoles, mobile devices and vintage computers owned: NES

Tom_the_walrus

As a student, my calculators stay mainly in my bag but as it is now holidays I'm gonna be playing and/or coding with my Prime.
Apart for gaming and coding, I like to play badminton. :)
  • Calculators owned: Casio graph35+ tweaked, HP Prime

Dream of Omnimaga

cool to hear you plan to do some HP Prime dev soon. I need to get back into it at one point.

Do you have hardware A or C?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Unicorn

Oh, and hobbies. I play soccer, like to watch and play hockey, and like to take computers apart.
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

Powered by EzPortal