Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VGSVDP_PTNTBL_ROM flag #5

Merged
merged 6 commits into from
Oct 14, 2023
Merged

VGSVDP_PTNTBL_ROM flag #5

merged 6 commits into from
Oct 14, 2023

Conversation

suzukiplan
Copy link
Owner

VDPを使用したいがRAMを節約したいケースを救済するため、コンパイルオプション VGSVDP_PTNTBL_ROM の指定によりパターンテーブルに ROM 領域を指定できるようにする。

テストアプリをビルドした時のメモリサイズの差異は次のような形だった

VGSVDP_PTNTBL_ROM 指定なし(デフォルト)

Checking size .pio/build/pico/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [=======   ]  74.4% (used 195088 bytes from 262144 bytes)
Flash: [==        ]  18.0% (used 375736 bytes from 2093056 bytes)

VGSVDP_PTNTBL_ROM 指定あり

Checking size .pio/build/pico/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [======    ]  61.9% (used 162324 bytes from 262144 bytes)
Flash: [==        ]  18.0% (used 375728 bytes from 2093056 bytes)

@suzukiplan suzukiplan merged commit 12ecc02 into master Oct 14, 2023
@suzukiplan suzukiplan deleted the 1.3.0 branch October 14, 2023 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant