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

How to start programming ASM or BASIC for scrubs like me who don't know anything

Started by xMarminq_, November 01, 2016, 01:00:24 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

xMarminq_

Please put tips here.
O.O
I will try my best to read and lean so I don't sound stupid on here.
CE is best.
  • Calculators owned: Ti-84 Plus CE, Ti-84 Plus (can be borrowed from my school)
I don't associate with associations

kotu

learn TI-BASIC or C

do not learn ASM yet if you are a beginner


*edit*

@xMarminq_ try this

http://tibasicdev.wikidot.com/sk:first-program
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Dream of Omnimaga

Depends, but generally, TI-Basic Developer wiki is the first place you should go at to learn. The TI-84 Plus CE guidebook on TI website can be handy as well, but not as complete. It also provides some examples. You also need to start small, not with a big JRPG 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

Unicorn

Try to create a random number program, then a guessing game, using the TI-Basic Dev Wiki for reference for commands. That is what I did. If you have other programming experience, I suggest learning C and then installing the toolchain for the CE. About ASM, it really isn't needed unless you want to do some heavy stuff with the calc, C will be fast enough for games.
  • 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 ??? ??? ??? ??? ???



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

kotu

  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Hayleia

Quote from: kotu on November 01, 2016, 05:50:58 AM
ASM is way too difficult for most
ASM is way too difficult for most people who already learned another language and are used to thinking high level. FTFY.
Not saying it's easy for people who never learned any language, but really, I've even seen people who grew up with Java complain when they learned C even though they're both imperative and with a readable syntax (though I agree that Java may have more facilities than C, Java vs C is still far from Basic vs ASM...), so it's obvious that a big part of the problem is people being used to other ways of thinking.

kotu

also, i wouldn't really recommend ASM to a beginner, as it will make it very slow to write proper programs or big programs.
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Yuki

  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Hayleia

Quote from: kotu on November 01, 2016, 07:02:41 AM
also, i wouldn't really recommend ASM to a beginner, as it will make it very slow to write proper programs or big programs.
On the contrary, I totally would. This way, they'd understand concepts such as pointers very easily due to not having "complicated structures that do the job for them" everywhere...
Then yeah, they'll become fed up with it due to having to spend too much time to write even simple things, but they'll be able to move on to anything they like.

kotu

And to properly learn it you have to learn like over 250 instructions.... i wanted to learn z80 but I couldn't really be bothered.... don't see much to be gained.

However you are right I am very used to C++/STL.
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Snektron

You don't need to see it as 250 instructions. There are only like 30 different opcodes or so. The numbers you speak about come from the different numbers of combinations of instructions (ex ld a,(hl) and ld b,(hl)) which are prettt easy to remember.

Plus i have an opcode list open too when i program assembly :P
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Hayleia

On the contrary, there are far less instructions in ASM than in other languages. That's why it's "hard" actually, because where you'd have an instruction for every purpose in other languages (this is an exaggeration), you have to find the way to get the same result by combining the very few instructions you're given in ASM.

edit Yeah, what @Snektron said. It's as if you counted "a=b" in C as a different instruction than "b=c", even though that's just assignment.

kotu

from what i understood there were about 250 actual instructions, but they only really counted as about 150
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Snektron

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


kotu

  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Powered by EzPortal