File:  [Tom Morton FrontierVM] / frontvm / as68k / test.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:57:48 2018 UTC (8 years, 3 months ago) by root
Branches: frontvm, MAIN
CVS tags: frontvm3-20060623, frontvm3-20060613, frontvm2-20061120, HEAD
Tom Morton

#include <stdio.h>
#include "m68000.h"
#include "hcalls.h"
extern int exceptions_pending;
int main ()
{
	if (!Init680x0 ()) {
		printf ("Error loading poop.cunt\n");
	}
	//FlagException (0);
	//printf ("P 0x%x\n", exceptions_pending);
	SetReg (14, 0xdeadbeef);
	MemWriteLong (0x50, 0xdeadcafe);
	printf ("%p\n", STRam);
	Start680x0 ();
	
	DumpRegs ();
	
	return 0;
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.