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

[z80 asm] BrainVM

Started by Snektron, January 31, 2015, 08:11:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Snektron

So i got bored to day, and decided to make a Brainc Virtual Machine in z80
(ti 83+, 84+ etc). I haven't yet made a way to input code on the calculator, but it
has all the instructions.
The input code supports all alpha characters (including theta) and 1-9 (i should impelent 0, oops), + - * / ^ ( )
. and ,. character 10 is new line in the print code.
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Dream of Omnimaga

Nice. This is a very common project among calc coders but they are rarely in ASM. Do you plan to let people use the main editor like in Axe/Basic and SourceCoder?
  • 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

岩倉 澪

bf is a fun language to warp your brain, the one thing I didn't like about it was the cell size, I never wanted to implement routines to work on multibyte ints :P

Dream of Omnimaga

Quote from: 岩倉 澪 on February 01, 2015, 12:05:44 AM
bf is a fun language to warp your brain
warp in another dimension? O.O
  • 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

Snektron

Quote from: DJ Omnimaga on January 31, 2015, 11:11:14 PM
Nice. This is a very common project among calc coders but they are rarely in ASM. Do you plan to let people use the main editor like in Axe/Basic and SourceCoder?
Hm not a bad idea actually. Maybe i can make it an app like axe and do some VAT magic.
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Dream of Omnimaga

By VAT logic what do you mean?
  • 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

Snektron

Well, selecting a program and running it via an app, kinda like selecting a program to compile wit Axe.
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Dream of Omnimaga

Oh OK. I thought you meant you would make the BF language support storing stuff in TI-OS BASIC variables or something.
  • 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

aetios

Nice project, Keoni learned me BF some time back and it's a fun language :D
ceci n'est pas une signature

Snektron

Sometimes a little overwhelming though, but i guess it's called brainc for a reason.
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Dream of Omnimaga

Yeah apparently it's even harder than Z80 ASM, but it's the goal. I remember juju made a brainc interpreter a few years ago in TI-BASIC and when I looked at BF syntax on another site out of curiosity, I was like OMG!.
  • 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

Snektron

That's nothing. There is a language called Quantum Brainc.
(http://esolangs.org/wiki/Quantum_brainc). But i think it's especially hard since
the instructions are so obscure. If you make some macros it would ne a lot easier :P
Btw, esolangs is a great site, there are some really interesting languages on there
http://esolangs.org/wiki/Joke_language_list
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Duke "Tape" Eiyeron

Your link goes to a blank page.
  • Calculators owned: A lot.

Snektron

The first or the second one? (they both work with me)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Duke "Tape" Eiyeron

The first one; Im mean that the esolang page for your esoteric language is avoid of any information.
  • Calculators owned: A lot.

Powered by EzPortal