mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-17 12:08:54 +00:00
Merge remote-tracking branch 'origin/master' into master
This commit is contained in:
commit
043b6e29b5
@ -0,0 +1,6 @@
|
||||
ldy #0
|
||||
lda {c1},x
|
||||
sta ({z1}),y
|
||||
iny
|
||||
lda {c1}+1,x
|
||||
sta ({z1}),y
|
@ -0,0 +1,5 @@
|
||||
lda {c1},x
|
||||
sta ({z1}),y
|
||||
iny
|
||||
lda {c1}+1,x
|
||||
sta ({z1}),y
|
@ -0,0 +1,2 @@
|
||||
ldy #{c1}+1
|
||||
lda ({z1}),y
|
@ -0,0 +1,2 @@
|
||||
iny
|
||||
lda ({z1}),y
|
@ -0,0 +1 @@
|
||||
lda ({z1}),y
|
@ -0,0 +1,3 @@
|
||||
sec
|
||||
lda ({z1}),y
|
||||
sbc #1
|
@ -480,7 +480,7 @@ public class KickC implements Callable<Integer> {
|
||||
String emuOptions = "";
|
||||
if(emulator.equals("C64Debugger")) {
|
||||
Path viceSymbolsPath = outputDir.resolve(outputFileNameBase + ".vs");
|
||||
emuOptions = "-symbols " + viceSymbolsPath + " -wait 2500" + " ";
|
||||
emuOptions = "-symbols " + viceSymbolsPath + " -autojmp -prg ";
|
||||
}
|
||||
// The program names used by VICE emulators
|
||||
List<String> viceEmus = Arrays.asList("x64", "x64sc", "x128", "x64dtv", "xcbm2", "xcbm5x0", "xpet", "xplus4", "xscpu64", "xvic");
|
||||
|
@ -1,6 +1,7 @@
|
||||
// MEGA65 conio.h implementation
|
||||
#include <conio.h>
|
||||
#include <mega65.h>
|
||||
#include <6502.h>
|
||||
|
||||
// The screen width
|
||||
#ifdef __MEGA65_C64__
|
||||
@ -27,18 +28,9 @@ const char CONIO_TEXTCOLOR_DEFAULT = LIGHT_BLUE;
|
||||
// Enable 2K Color ROM
|
||||
void conio_mega65_init() {
|
||||
// Disable BASIC/KERNAL interrupts
|
||||
asm {
|
||||
sei
|
||||
}
|
||||
SEI();
|
||||
// Map memory to BANK 0 : 0x00XXXX - giving access to I/O
|
||||
asm {
|
||||
lda #0
|
||||
tax
|
||||
tay
|
||||
taz
|
||||
map
|
||||
eom
|
||||
}
|
||||
memoryRemap(0,0,0);
|
||||
// Enable the VIC 4
|
||||
*IO_KEY = 0x47;
|
||||
*IO_KEY = 0x53;
|
||||
|
@ -136,6 +136,6 @@ inline char plexFreeNextYpos() {
|
||||
|
||||
// Update the data structure to reflect that a sprite has been shown. This sprite will be free again after 21 lines.
|
||||
inline void plexFreeAdd(char ypos) {
|
||||
PLEX_FREE_YPOS[plex_free_next] = ypos+21;
|
||||
PLEX_FREE_YPOS[plex_free_next] = ypos+22;
|
||||
plex_free_next = (plex_free_next+1)&7;
|
||||
}
|
Loading…
Reference in New Issue
Block a user