Code: Select all
void mapper_put_p2(uchar segment) {
usage = 2;
regs.Bytes.A = segment;
uint address = mapper_routine_table() + MR_PUT_P2;
Code: Select all
void mapper_put_p2(uchar segment) {
usage = 2;
regs.Bytes.A = segment;
uint address = mapper_routine_table() + MR_PUT_P2;
Code: Select all
struct fcb *fcb;
retVal = bdos(CPM_FNXT, &fcb);
Try here: https://github.com/z88dk/z88dk/wiki/Cla ... ry-mallochI would appreciate any clues on how I messed up
Unfortunately it uses the af' register for add, multiply and polynomial expansion so that's a no.
Code: Select all
extern __at(0x1000) int SCRM_TEXT1;
extern void screenmode(int);
void func()
{
screenmode((int)&SCRM_TEXT1);
}