1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-12 17:30:50 +00:00

Update multidemo.c

This commit is contained in:
Stefan 2024-12-09 00:44:44 +01:00 committed by GitHub
parent 8b008052cb
commit 5d2730f4b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,34 +64,34 @@ void log (char *msg)
** rather place all the code of certain source files into the overlay by
** compiling them with --code-name OVERLAY1.
*/
#pragma code-name (push, "OVERLAY1");
#pragma code-name (push, "OVERLAY1")
void foo (void)
{
log ("Calling main from overlay 1");
}
#pragma code-name (pop);
#pragma code-name (pop)
#pragma code-name (push, "OVERLAY2");
#pragma code-name (push, "OVERLAY2")
void bar (void)
{
log ("Calling main from overlay 2");
}
#pragma code-name (pop);
#pragma code-name (pop)
#pragma code-name (push, "OVERLAY3");
#pragma code-name (push, "OVERLAY3")
void foobar (void)
{
log ("Calling main from overlay 3");
}
#pragma code-name(pop);
#pragma code-name(pop)
unsigned char loademdriver (void)