Search found 108 matches

by SerErris
Fri Oct 16, 2020 12:44 pm
Forum: Official Announcements
Topic: Debugging prototype board
Replies: 18
Views: 8383

Debugging prototype board


Multilayer >= 1 ?

by SerErris
Sat Oct 03, 2020 5:18 pm
Forum:
Topic: My First Steps with the X16: Questions and goals!
Replies: 38
Views: 12344

My First Steps with the X16: Questions and goals!

My statement was more based around expectations to say what to expect. <a contenteditable="false" data-ipshover="" data-ipshover-target="<___base_url___>/index.php?/profile/833-desertfish/&do=hovercard" data-mentionid="833" href="<___base_url___>/index.php?/profile/833-desertfish/" rel="">@dese...
by SerErris
Mon Sep 28, 2020 8:59 am
Forum: Programming
Topic: Prog8 language and compiler topic
Replies: 385
Views: 766163

Prog8 language and compiler topic

The whole procedureal generation is the real secret sauce in Elite ... besides the unparalleled graphics of that time. Also need to correct - the Seed is 6 bytes = 3 words.  Start reading here: Sub TT20 and Sub TT54 gives you more or less the whole picture. TT24 is then calculating the real system ...
by SerErris
Mon Sep 28, 2020 7:02 am
Forum:
Topic: "Hello, World!" with cc65
Replies: 76
Views: 38717

"Hello, World!" with cc65

I do not see any reason why I should need to build for X16 on Linux if I am Using. The whole Toolchain exists on Windows. If you want to use Linux - that is great and everything works there. But if you want to use Windows then WSL is just something to enable you to run Linux - which was not the ide...
by SerErris
Mon Sep 28, 2020 6:53 am
Forum: Programming
Topic: Prog8 language and compiler topic
Replies: 385
Views: 766163

Prog8 language and compiler topic

Just not related to prog8 but to Elite. You may want to lookup how the 256 planets worked in Elite. (check the source code I linked) It has a very good writeup how that works. In short: You have a pseudo random generator that is seeded by the galaxy seed (4 bytes). This seed is then taken through i...
by SerErris
Mon Sep 28, 2020 6:43 am
Forum:
Topic: My First Steps with the X16: Questions and goals!
Replies: 38
Views: 12344

My First Steps with the X16: Questions and goals!

That is a good approach. Just wanted to make you aware of the fact of limitations of the Architecture in regards of high languages. Where the Amiga was optimal to use for C the C64 never was and the X16 compensates a bit by processor speed with factor of 8 but has the same limitations. The compiled...
by SerErris
Sun Sep 27, 2020 11:10 am
Forum:
Topic: My First Steps with the X16: Questions and goals!
Replies: 38
Views: 12344

My First Steps with the X16: Questions and goals!

Be aware that C is not a good language for the C64/X16/6502 in general. It is very heavy on all the calls and context switches, where the 6502 is not very good at. The stack is also only 8 bit and only 256 bytes in total and cannot get extended. So you need to create a software stack (which is exac...
by SerErris
Wed Sep 23, 2020 7:40 pm
Forum:
Topic: My First C64/X16 Programs!
Replies: 68
Views: 22415

My First C64/X16 Programs!


Awesome ... not sure why that is not part of the official flight manual

by SerErris
Wed Sep 23, 2020 7:16 pm
Forum:
Topic: My First C64/X16 Programs!
Replies: 68
Views: 22415

My First C64/X16 Programs!

Hmm the regex is supposed to match the second part \b[AXY]\b but not if the first part is matched before (which is ^\s*[AXY] or beginning of line with any number of whitespaces followed by one character AXY ... that should actually work. <br />   what is this captures Statement doing? I could not f...
by SerErris
Wed Sep 23, 2020 2:30 pm
Forum:
Topic: My First C64/X16 Programs!
Replies: 68
Views: 22415

My First C64/X16 Programs!

I worked a little in Atom now and added to the language-65asm as I did not like some things: 1. the cc65 variant does highlight #$FE0A in on thing (so the # is the same color as the following constant). I like to have it separated as # is an operator and $FE0A is a constant. Also as # is such an im...