Search found 272 matches
- Fri Mar 01, 2019 2:25 am
- Forum: Cross development tools
- Topic: Better code generation (for CC65)
- Replies: 8
- Views: 9638
Re: Better code generation (for CC65)
That's actually a nice difference, specially in term of code size. Maybe everybody should try to rebuild their programs in -O3 and see if they notice any bugs, because there used to be some code generation errors, which is why it was not enabled by default, but if it works, that could be a good fir...
- Tue Feb 19, 2019 2:19 am
- Forum: Cross development tools
- Topic: Better code generation (for CC65)
- Replies: 8
- Views: 9638
Better code generation (for CC65)
Hello kitties, I am creating this topic to document my research regarding better code generation for CC65 as mentioned in other recently active threads on the topic. As a first and simple approach I am focusing on fixing/enhancing opt65, which is a simple 6502 peephole optimizer which is apparently ...
- Tue Feb 19, 2019 1:06 am
- Forum: Demos
- Topic: OricExos - making the impossible
- Replies: 156
- Views: 112786
Re: OricExos - making the impossible
Ahahah, this is fantastic work @ISS!
Keep up the effort, I cannot wait to see what can be produced with such a monster setup.
Keep up the effort, I cannot wait to see what can be produced with such a monster setup.
- Tue Feb 19, 2019 1:03 am
- Forum: C programming
- Topic: A new well-known compiler
- Replies: 51
- Views: 59932
Re: A new well-known compiler
I will not answer to all the comments, but I want to start by two things: - I don't think Opt65 has anything to do with CC65, it's something written by a C64 guy many years ago, that's why it's old style C. And yes, if we could get that thing to work (and play nice with auto-modified code, etc...) ...
- Tue Feb 19, 2019 12:49 am
- Forum: C programming
- Topic: A new well-known compiler
- Replies: 51
- Views: 59932
Re: A new well-known compiler
Yeah, I know. But nasty things start happening with automatic int promotions, such as: unsigned char a=200, b=200,c; c=(a+b)/2; You are absolutely right and I just got bitten by that issue: while debugging opt65, I noticed that some additions of 8 bit values were actually compiled into 16 bit value...
- Tue Feb 12, 2019 1:24 am
- Forum: Cross development tools
- Topic: OSDK bugs
- Replies: 10
- Views: 25303
Re: OSDK bugs
Example: If you go on http://www.osdk.org/index.php?page=issues and click on the "Ym2MYM" component name at the end of the page, it links to http://www.osdk.org/index.php?page=documentation&subpage=ym2mym and at the end of the page you have the list of all opened and closed issues, in...
- Tue Feb 12, 2019 1:13 am
- Forum: Tape and floppy disk converters
- Topic: Novalight - very fast tape loading
- Replies: 122
- Views: 102007
Re: Novalight - very fast tape loading
How long is the loader (in bytes)?
Could you store it in a darkened part of graphic memory and then wipe it entirely once the loading is done?
Could you store it in a darkened part of graphic memory and then wipe it entirely once the loading is done?
- Tue Feb 12, 2019 1:09 am
- Forum: C programming
- Topic: A new well-known compiler
- Replies: 51
- Views: 59932
Re: A new well-known compiler
@NekoNoNiaow : Well, we talking about two different Makefiles. 1. Makefiles to compile the OSDK sources from DF SVN repository to native executable for Linux. I'm using the Jylam's Makefiles found in OSDK sub-directories (they are good), but I've created my version of the 'rules.mak' to suit some m...
- Tue Feb 12, 2019 12:17 am
- Forum: Tape and floppy disk converters
- Topic: Novalight - very fast tape loading
- Replies: 122
- Views: 102007
Re: Novalight - very fast tape loading
Good job! I am eager to have a look at the sources to see what magic you had to resort to.
- Tue Feb 05, 2019 1:20 am
- Forum: Cross development tools
- Topic: Questions to CC65 users
- Replies: 7
- Views: 9462
Re: Questions to CC65 users
Thanks!
- Tue Feb 05, 2019 1:19 am
- Forum: C programming
- Topic: A new well-known compiler
- Replies: 51
- Views: 59932
Re: A new well-known compiler
What I did is: I've created Makefiles with the same build rules for CC65 and for OSDK's compiler, so I can easy include them in a local Makefile (call it 'Project makefile', which contains the names of source files and some per project parameters) and compile with both compilers. I made this mainly...
- Tue Feb 05, 2019 12:09 am
- Forum: Cross development tools
- Topic: OSDK bugs
- Replies: 10
- Views: 25303
Re: OSDK bugs
By the way, are there now light weight bug/issue tracking systems which could be used for the OSDK? I agree that a full fledged system would be overkill but on the other hand, having to send emails instead of going to a well know web page with proper editing/linking/referencing tools also reduces mo...
- Mon Feb 04, 2019 11:57 pm
- Forum: General Discussion
- Topic: Announcing 8bit-Unity: Cross-platform SDK for 8bit games
- Replies: 3
- Views: 4166
Re: Announcing 8bit-Unity: Cross-platform SDK for 8bit games
Great initiative. This looks like an effort intensive project indeed given how varied the 8 bit ecosystem was/is. Have you had a look at the existing similar setups (the OSDK obviously comes to mind) so as to evaluate what kind of features you would have to add in order to keep users happy? I know t...
- Fri Feb 01, 2019 5:53 am
- Forum: 6502 assembly coding
- Topic: How to create random number with machine code?
- Replies: 12
- Views: 16548
Re: How to create random number with machine code?
How are you using the generated random numbers? I ask because if you are generating them inside a loop there is a high chance that they will repeat if the timing of the loop is more or less constant. What I would recommend actually is to use a simple modulo based random generator (*) and initialize ...
- Fri Feb 01, 2019 5:31 am
- Forum: Tape and floppy disk converters
- Topic: Experimental very fast tape loading
- Replies: 138
- Views: 117768
Re: Experimental very fast tape loading
Ok, back to it. Currently working at a version that saves 4 bytes in the stack (it's the 10th release candidate...). The optimization quest is a never ending one. :D After this, unless another new idea springs to mind, I'll release it and leave it to others to find if anything can be optimized ;) I...