Lesson P33 - Hardware Sprites on the PC Engine (TurboGrafx-16)

PC-Engine AKA TurboGrafx-16 Programming
Post Reply
User avatar
akuyou
Posts: 507
Joined: Mon Apr 22, 2019 3:19 am
Contact:

Lesson P33 - Hardware Sprites on the PC Engine (TurboGrafx-16)

Post by akuyou » Tue Oct 22, 2019 9:11 pm

The PC Engine is capable of 64 hardware sprites, each of which is 16 color, and is 16x16 in size.

This gives the PCE some pretty impressive graphical capablilities - lets learn how to make some sprites!



https://www.chibiakumas.com/6502/platfo ... #LessonP33
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter! // 「チビ悪魔」可笑しいゴシックSTG ! // Work in Progress: ChibiAliens

Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809

PierreGTT
Posts: 4
Joined: Sun Dec 05, 2021 11:14 am

Re: Lesson P33 - Hardware Sprites on the PC Engine (TurboGrafx-16)

Post by PierreGTT » Thu Dec 16, 2021 8:33 pm

Hi,

In my PCE program, some text is displayed as background. There is also a cursor made from hardware sprites. I would like the text to be video inverted when the cursor moves over.

Is there any hardware XOR operation that could be done between background and sprite's pixels or is it to be done through software?

User avatar
akuyou
Posts: 507
Joined: Mon Apr 22, 2019 3:19 am
Contact:

Re: Lesson P33 - Hardware Sprites on the PC Engine (TurboGrafx-16)

Post by akuyou » Sat Dec 18, 2021 9:32 am

I don 't think you have any choice but to do it with software.

I'm not aware that the PC Engine can do any kind of transparency or other 'calculated' effects like Xor
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter! // 「チビ悪魔」可笑しいゴシックSTG ! // Work in Progress: ChibiAliens

Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809

PierreGTT
Posts: 4
Joined: Sun Dec 05, 2021 11:14 am

Re: Lesson P33 - Hardware Sprites on the PC Engine (TurboGrafx-16)

Post by PierreGTT » Sun Jan 16, 2022 10:47 am

OK thanks for your confirm.

Post Reply

Return to “PC-Engine Assembly Programming”