view jcart.h @ 1866:84f16a804ce5

Rework sprite rendering phase 3 to better match behavior documented by Kabuto/Titan and fix edge case in sprite overflow flag that was breaking the RPS minigame in Alex Kidd
author Michael Pavone <pavone@retrodev.com>
date Thu, 20 Jun 2019 22:31:31 -0700
parents c206a422d466
children
line wrap: on
line source

#ifndef JCART_H_
#define JCART_H_

void *jcart_write_w(uint32_t address, void *context, uint16_t value);
void *jcart_write_b(uint32_t address, void *context, uint8_t value);
uint16_t jcart_read_w(uint32_t address, void *context);
uint8_t jcart_read_b(uint32_t address, void *context);
void jcart_adjust_cycles(genesis_context *context, uint32_t deduction);
void jcart_gamepad_down(genesis_context *context, uint8_t gamepad_num, uint8_t button);
void jcart_gamepad_up(genesis_context *context, uint8_t gamepad_num, uint8_t button);

#endif //JCART_H_