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

AllocMem(d0/d1) -198(a6) #6

Open
nitrologic opened this issue Jul 22, 2023 · 1 comment
Open

AllocMem(d0/d1) -198(a6) #6

nitrologic opened this issue Jul 22, 2023 · 1 comment

Comments

@nitrologic
Copy link
Owner

Expand the ACID500 exec with memory allocation service.

Add allocation heaps to chipmem and fastmem address spaces.

Display block usage on a memory map in monitor.

@nitrologic
Copy link
Owner Author

A shit simple implementation (note note) for class acid68000:

int heapPointer = 0x60000;

// TODO - round size to page boundary

int allocate(int size, int bits) {
	int p = heapPointer;
	heapPointer += size;
	return p;
}

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

No branches or pull requests

1 participant