Search found 17 matches

by yaros
Tue Oct 20, 2020 7:46 pm
Forum: Homebrew Projects
Topic: little things
Replies: 3
Views: 1376

Re: little things

Hey tepples. I found that some folders are empty. tutorial-2008 only has *.md file so as anti-diskdude. I didn't check all the folder yet..
by yaros
Sun Oct 04, 2020 7:13 pm
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 883
Views: 418632

Re: Mesen - NES Emulator

That's sad. I hope Sour is okay, and if he is, he better enjoy retirement from ruthless and thankless world of Open Source :).
by yaros
Sun Oct 04, 2020 6:32 pm
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 164
Views: 39666

Re: VBCC Optimizing C-compiler now supports NES

I'm having a trouble (or misunderstanding) with vasm's org . I want to reserve a space at specific address: ; this is separate .s file. it's entire content section "bss" *=$300 __ppu_oam: reserve $100 global __ppu_oam Even though it places the label at $300 as requested, it overlaps with other varia...
by yaros
Wed Aug 26, 2020 6:56 pm
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 883
Views: 418632

Re: Mesen - NES Emulator

Use the version you're happiest with, but just be aware that there have been about 255 commits since version 0.9.8 with all sorts of bug fixes, accuracy improvements, and new features, so you're really losing a lot for this compared to the current appveyor release. I know, unfortunately I'd have to...
by yaros
Tue Aug 25, 2020 9:19 pm
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 164
Views: 39666

Re: VBCC Optimizing C-compiler now supports NES

vbc wrote:
Tue Aug 25, 2020 3:53 pm
This warning is produced by a global optimizer pass and can not be disabled locally. You can only disable it globally.
I wouldn't want to disable it completely. It seems very useful in general. I guess I'll just leave with it. Thank you for explanations.
by yaros
Tue Aug 25, 2020 2:27 pm
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 164
Views: 39666

Re: VBCC Optimizing C-compiler now supports NES

Found a bug with #pragma dontwarn . It still warns. Code: int main() { unsigned char i = 0; // comment #pragma dontwarn 208 while(1) { i++; } #pragma popwarn } Result: PS D:\...\test_vbcc> vc +nes -O3 -c99 main.c -o test_vbcc.nes warning 208 in function "main": suspicious loop Edit: I have something...
by yaros
Tue Aug 25, 2020 9:17 am
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 883
Views: 418632

Re: Mesen - NES Emulator

This was an intentional change. Users did not expect power cycle to also reload the ROM and there were complaints about it. While this is clearly not an improvement for everyone, I think the new behavior is better on the whole. I guess I'll have to stay on older version for now, until Sour comes ba...
by yaros
Mon Aug 24, 2020 12:52 pm
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 164
Views: 39666

Re: VBCC Optimizing C-compiler now supports NES

Thank you! Mesen labels specifically target NES memory model, not sure if it's good idea to integrate into the your compiler. But as you can see from the script, it's very easy. You can find documentation here : This is listed in the documentation under 6502 Backend=>ABI: r16..r27 are callee-save, ...
by yaros
Mon Aug 24, 2020 12:52 pm
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 164
Views: 39666

Re: VBCC Optimizing C-compiler now supports NES

Not sure if you figured it out. I wrote simple Python script to convert vicelabels to mesen labels. Thank you! Mesen labels specifically target NES memory model, not sure if it's good idea to integrate into the your compiler. But as you can see from the script, it's very easy. You can find document...
by yaros
Mon Aug 24, 2020 9:34 am
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 164
Views: 39666

Re: VBCC Optimizing C-compiler now supports NES

Not sure if you figured it out. I wrote simple Python script to convert vicelabels to mesen labels. Thank you! Mesen labels specifically target NES memory model, not sure if it's good idea to integrate into the your compiler. But as you can see from the script, it's very easy. You can find document...
by yaros
Sun Aug 23, 2020 8:55 pm
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 883
Views: 418632

Re: Mesen - NES Emulator

Ah, i see your point. I don't know what the old functionality was like, but if you click on the game screen and map this, the ROM will reload. There doesn't seem to be a way to map that directly in the debugger though... hmm... That's what I did. Still annoying to switch back to the main window som...
by yaros
Sun Aug 23, 2020 8:18 pm
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 883
Views: 418632

Re: Mesen - NES Emulator

Controllerhead wrote:
Sun Aug 23, 2020 8:07 pm
Looking for this? It's mapable
No. I remember that power cyling in debugger (see attached) used to also reload the rom. If I build new version, and code changes, I want new rom to be loaded into the emulator. Both power cycle from debugger or emulator screens leave old rom in memory.
by yaros
Sun Aug 23, 2020 8:01 pm
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 883
Views: 418632

Re: Mesen - NES Emulator

Hey Sour, or maybe someone else know. I got back to using Mesen recently. If I remember correctly, when I used Mesen Ctrl+T power cycle used to reload ROM (or maybe I used another hotkey...), but now it doesn't. I have to manually go to File->Reload ROM in main menu. Is there something I'm missing o...
by yaros
Sun Aug 23, 2020 3:48 pm
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 164
Views: 39666

Re: VBCC Optimizing C-compiler now supports NES

I have updated my page with a fixed version (including also the startup fix). Thanks for the new compiler! Which version contains latest fixes? The latest beta I got from the website, has latest updated file dated August 9th. Or should I build the latest from the provided source code? edit: Regardi...
by yaros
Wed Jul 29, 2020 7:40 am
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 164
Views: 39666

Re: VBCC Optimizing C-compiler now supports NES

You can define and access a structure for example like this: struct point x: dw 1 y: db 2 endstruct s1: point s2 = $8000 lda s1+point.x lda s2+point.y If we already defined that s1 is of type point is it possible to simplify lda s1+point.x to lda s1.x ?