Search found 105 matches

by Lazycow
Tue Aug 11, 2020 10:28 am
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 160
Views: 26937

Re: VBCC Optimizing C-compiler now supports NES

Nice demo using the lazynes lib! :D I recompiled it, using the cc65 version of the lazynes lib and got 18 balls. (the rand() function was missing for cc65, added the rand() from shiru's neslib) balls-cc65.zip (cartridge binary and source) Here's the cc65 version of the lazynes lib. (BETA) I only por...
by Lazycow
Sun Aug 09, 2020 10:40 am
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 160
Views: 26937

Re: VBCC Optimizing C-compiler now supports NES

I see a couple missing zeropage optimizations in lazynes. Oops, you're right - I forgot to add the line "zpage r0,r1,r2,r3,r4,r5" for the register parameters. (lazyNES is written in assembler) That will reduce the size of the liblazynes.a file by 16 bytes. (fix should be included in lazyNES V1.0.2)...
by Lazycow
Mon Jul 20, 2020 12:06 am
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 160
Views: 26937

Re: VBCC Optimizing C-compiler now supports NES

https://i.imgur.com/tabHp0N.png https://i.imgur.com/W9AiDiJ.png Hi, I made a small Q&D test for mapper4/MMC3/TBROM: mapper4.zip (source and cartridge binary included, see buildtests.sh how to compile) It only uses manual bankswitching instead of vbcc6502's cool auto bankswitching feature. So it mig...
by Lazycow
Sun Jul 05, 2020 6:04 am
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 160
Views: 26937

Re: VBCC Optimizing C-compiler now supports NES

but I gave up about that for nes and adapt the C to make it faster (almost no parameters for functions and use variables in zero page for them instead). Ha, I know this procedure from the cc65 based Wolfling game where I had to write subroutines in assembler to make it fast enough. By the way, vbcc...
by Lazycow
Sat Jul 04, 2020 1:27 pm
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 160
Views: 26937

Re: VBCC Optimizing C-compiler now supports NES

@Banshaku: For me, vbcc6502 is stable and migrating C code itself didn't make any problems at all. If you don't want to use the lazyNES lib, then adapting your assembler code will require some attention. Yes, you're right. - You have to switch to vasm. (correct me if I'm wrong) At least, I used vasm...
by Lazycow
Fri Jul 03, 2020 2:28 pm
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 160
Views: 26937

Re: VBCC Optimizing C-compiler now supports NES

Hi, I have ported the lazyNES lib from the vbcc6502 examples to the cc65. This means that I can compile the bubbles demo with cc65 now. This demo counts how many bubble sprites could be moved in 60 fps. (so it could be used as a lazy compiler benchmark) With the cc65, I compiled it with: -Oris -Cl a...
by Lazycow
Wed Jun 24, 2020 11:35 am
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 160
Views: 26937

VBCC Optimizing C-compiler now supports NES

I'm posting here on Volker Barthelmann's behalf, whos accound hasn't been approved, yet. (admin: hint, hint) :wink: ---8<--- Hello, I have just released the second version of a port of the vbcc compiler to the 6502 at: http://www.compilers.de/vbcc.html Thanks to Matthias "Lazycow" Bock, the NES is n...
by Lazycow
Fri Sep 06, 2019 5:47 am
Forum: Homebrew Projects
Topic: Physics Demo
Replies: 4
Views: 6173

Re: Physics Demo

Nice demo, thanks for sharing! :D
If it would be used for a game, then a ball-ball collision detection would be handy.
Nevertheless, it's fun as is already...
by Lazycow
Wed Jan 30, 2019 5:33 am
Forum: 2017 NESdev Competition
Topic: Progress Thread - Wolfling
Replies: 152
Views: 132204

Re: Progress Thread - Wolfling

lidnariq wrote:won't let me go back right
You can leave the lower floor in the room to the right, otherwise you're trapped.
But why is it impossible to go right? Does the game refuse to switch the room?
by Lazycow
Fri Jan 25, 2019 7:16 am
Forum: 2017 NESdev Competition
Topic: Progress Thread - Wolfling
Replies: 152
Views: 132204

Re: Progress Thread - Wolfling

@TCH: Nice map! 8-)
@nocash: No, I don't add a 2nd safety platform under the safety platform :wink:
by Lazycow
Sun Jan 13, 2019 5:07 am
Forum: 2017 NESdev Competition
Topic: Action 53 volume 4
Replies: 72
Views: 85166

Re: Action 53 volume 4

I have tested Wolfling in the a53vol4-page4.nes with the nintaco emulator and Wolfling crashes when entering the cave. :(
(it does not crash when I select the wolfling14.nes file)

Any hints how I can isolate the problem?
by Lazycow
Mon Jan 07, 2019 11:09 pm
Forum: 2017 NESdev Competition
Topic: Action 53 volume 4
Replies: 72
Views: 85166

Re: Action 53 volume 4

Just in case you didn't notice: I have uploaded a fixed version (V1.4) of Wolfling. :oops:
by Lazycow
Mon Jan 07, 2019 12:46 pm
Forum: 2017 NESdev Competition
Topic: Progress Thread - Wolfling
Replies: 152
Views: 132204

Re: Progress Thread - Wolfling

Ooops, there's an evil bug in V1.3! Sloppy, sloppy...
I have attached the fixed V1.4 to the 1st post.
by Lazycow
Sun Jan 06, 2019 9:32 am
Forum: 2017 NESdev Competition
Topic: Progress Thread - Wolfling
Replies: 152
Views: 132204

Re: Progress Thread - Wolfling

Image
Ok, Wolfling V1.3 is finished now.
It fixes some bugs, features improved player controls and there's a bigger map.
by Lazycow
Mon Nov 12, 2018 1:42 pm
Forum: 2017 NESdev Competition
Topic: Progress Thread - Wolfling
Replies: 152
Views: 132204

Re: Progress Thread - Wolfling

@nocash: - Yes, (A) and (B) are swapped by accident in the BETA. (oops) - Yes, Wolf should keep her moving momentum after jumping. It's a bug. - Yes, the girl doesn't keep her moving momentum after jumping, I didn't like that. But she has more control in the air now! - Yes, the girl starts at the wr...