BartmanAbyss / vscode-amiga-debug

One-stop Visual Studio Code Extension to compile, debug and profile Amiga C/C++ programs compiled by the bundled gcc 12.2 with the bundled WinUAE/FS-UAE.
GNU General Public License v3.0
314 stars 39 forks source link

Resource view bitmap modes? #72

Closed rjobling closed 3 years ago

rjobling commented 3 years ago

I love the resource view and being able to see the blits as they happen.

I'd love it even more if I could specify the screen mode.

Being able to see the resource in HAM5/6 or Dual-playfield or Half-bright would be very helpful!

BartmanAbyss commented 3 years ago

sure. if you can send me a simple sample project I can build and run in the profiler with the new screen modes, I will take a look at adding them.

rjobling commented 3 years ago

I made a test project for HAM5/6 and EHB and sent you an invite.

At the top of ham.cpp there are defines you can use to toggle the mode it compiles for.

I didn't add dual-playfield because I don't think I'll need that, I would just register two separate bitmaps.

BartmanAbyss commented 3 years ago

fixed in https://github.com/BartmanAbyss/vscode-amiga-debug/commit/870c12ea2710178919fd6d9dd6c72b5f0aaff64d https://github.com/BartmanAbyss/vscode-amiga-debug/releases/tag/1.1.0-preview42

rjobling commented 3 years ago

Thanks for this update!! I grabbed the new installer and it's working great. One minor issue is that it uses black for the initial color. I suspect my test project had a black background color. However my current project does not, and so it's not showing up 100% correctly. Hopefully that's an easy fix and just needs the initial previous color set to the same as palette entry color[0].

BartmanAbyss commented 3 years ago

Yes, you‘re right. Will fix tomorrow.

BartmanAbyss commented 3 years ago

Fixed in https://github.com/BartmanAbyss/vscode-amiga-debug/commit/0590b2e9d6f9ad3bd7561f7b963f4a3c0d6d41d4 (1.1.0-preview43)