1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-17 16:44:00 +00:00

Replace Addr68k related macros with NativeAligned inline functions

This commit is contained in:
Nick Briggs 2022-09-01 14:15:37 -07:00
parent 483506234b
commit d6a5e5298a

View File

@ -18,7 +18,7 @@
#include <sys/mman.h> // for mmap
#include <sys/stat.h> // for stat, fstat
#include <unistd.h> // for lseek, read, close, getpagesize
#include "adr68k.h" // for Addr68k_from_LADDR
#include "adr68k.h" // for NativeAligned2FromLAddr
#ifdef BYTESWAP
#include "byteswapdefs.h" // for word_swap_page
#endif
@ -270,7 +270,7 @@ int sysout_loader(const char *sysout_file_name, int sys_size) {
/*
* Initialize the display (note now passing 68k address!!!)
*/
init_display2(Addr68k_from_LADDR(DISPLAY_OFFSET), 65536 * 16 * 2);
init_display2(NativeAligned2FromLAddr(DISPLAY_OFFSET), 65536 * 16 * 2);
/* read sysout file to lispworld */