float asm...read the value with peek?

All aspects of programming on the Commander X16.
User avatar
ahenry3068
Posts: 1135
Joined: Tue Apr 04, 2023 9:57 pm

Re: float asm...read the value with peek?

Post by ahenry3068 »

Hi Funkheld,


I can tell your enjoying learning on here. Your tackling some pretty advanced concepts for just being a beginner here.

I have a suggestion. PICK A PROJECT. A Game, A Text Editor, A utility, A Music Player, Something that interests you and does something useful. Lay it out and start coding it. I guarantee you'll learn a lot in the process. It's the only way to put all the pieces together.
User avatar
edrive
Posts: 37
Joined: Mon Jan 18, 2021 8:03 pm
Location: Germany
Contact:

Re: float asm...read the value with peek?

Post by edrive »

I ordered and started learning the 6502/X16 last October.

As a plc programmer on a profession for many years, I did the mistake to totally overestimate my self.
I just thought that simple 6502 has just so few instructions, it can't be a thing.

So right from the beginning I started coding a nice game.
But soon it turned out that I stumbled upon many very basic things.
E.g. I was wondering why the conditioned branching sometimes worked and sometimes not.
It took a while to understand that the 6502 branching/ comparison assumes the values are signed.

So I stepped back and postponed the game.
And started doing very easy programs.

For assembly beginners I highly endorse the tutorial series from "The Retro Desk"

https://www.youtube.com/watch?v=gqwIzbT_WFU

I went through the whole series.
And learned very much by just understanding and tweaking the examples.
User avatar
ahenry3068
Posts: 1135
Joined: Tue Apr 04, 2023 9:57 pm

Re: float asm...read the value with peek?

Post by ahenry3068 »

edrive wrote: Sun Apr 14, 2024 3:36 pm I ordered and started learning the 6502/X16 last October.

As a plc programmer on a profession for many years, I did the mistake to totally overestimate my self.
I just thought that simple 6502 has just so few instructions, it can't be a thing.

So right from the beginning I started coding a nice game.
But soon it turned out that I stumbled upon many very basic things.
E.g. I was wondering why the conditioned branching sometimes worked and sometimes not.
It took a while to understand that the 6502 branching/ comparison assumes the values are signed.

So I stepped back and postponed the game.
And started doing very easy programs.

For assembly beginners I highly endorse the tutorial series from "The Retro Desk"

https://www.youtube.com/watch?v=gqwIzbT_WFU

I went through the whole series.
And learned very much by just understanding and tweaking the examples.

I agree with you but only to a point. I always learn something better and more thoroughly when I "have" to make it work for a project. For a project like I'm trying to sell Funkheld on I think feature creep is a good thing.
User avatar
edrive
Posts: 37
Joined: Mon Jan 18, 2021 8:03 pm
Location: Germany
Contact:

Re: float asm...read the value with peek?

Post by edrive »

We are on par. After I was half through the lessons, that "Dot Matrix" program idea came to my mind.
Now it's >200k assembly code (only counting the pure source code files). But that took 4 months.
Still need to learn many things...
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: float asm...read the value with peek?

Post by funkheld »

Hello thanks for the information.

I know some of the c64: basic, asm.

but the x16 is a wonderful 8-bit computer/emulator.
I am very interested and the emulator is the best I have ever seen as it is very similar to the x16 hardware and can be used freely. Thanks.

Also the many people here who keep forgetting the emulator. Thanks.

and you specialists... who have a lot of specialist knowledge.

First I want to get to know a lot about the x16 that's in there.

greeting
User avatar
ahenry3068
Posts: 1135
Joined: Tue Apr 04, 2023 9:57 pm

Re: float asm...read the value with peek?

Post by ahenry3068 »

edrive wrote: Sun Apr 14, 2024 3:47 pm We are on par. After I was half through the lessons, that "Dot Matrix" program idea came to my mind.
Now it's >200k assembly code (only counting the pure source code files). But that took 4 months.
Still need to learn many things...
Hangman took me May,23 --> Mar, 24 before I called it done. :)
mortarm
Posts: 298
Joined: Tue May 16, 2023 6:21 pm

Re: float asm...read the value with peek?

Post by mortarm »

funkheld wrote: Sun Apr 14, 2024 3:55 pm Also the many people here who keep forgetting the emulator. Thanks.
Your gonna have to explain that one, cuz it sounds like a jab, which I'm sure it ain't.
Post Reply