mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2025-01-10 16:29:48 +00:00
renamed sg1000 to sms-sg1000
This commit is contained in:
parent
88186cf9f2
commit
2735e71753
@ -48,10 +48,6 @@ void move_cursor(struct cvu_sprite *s, int controller) {
|
||||
if (cs.joystick & CV_DOWN) y++;
|
||||
if (cs.joystick & CV_UP) y--;
|
||||
|
||||
// Move cursor by the spinner controllers (if present)
|
||||
x += cvu_get_spinner(0);
|
||||
y += cvu_get_spinner(1);
|
||||
|
||||
// Make sure cursor doesn't leave the screen.
|
||||
if(x < 0) x = 0;
|
||||
if(x > 239) x = 239;
|
||||
|
@ -196,4 +196,4 @@ const _SG1000Platform = function(mainElement) {
|
||||
|
||||
///
|
||||
|
||||
PLATFORMS['sg1000'] = _SG1000Platform;
|
||||
PLATFORMS['sms-sg1000'] = _SG1000Platform;
|
@ -197,6 +197,7 @@ export class SourceEditor implements ProjectView {
|
||||
|
||||
updateListing() {
|
||||
// update editor annotations
|
||||
// TODO: recreate editor if gutter-bytes is used (verilog)
|
||||
this.editor.clearGutter("gutter-info");
|
||||
this.editor.clearGutter("gutter-bytes");
|
||||
this.editor.clearGutter("gutter-offset");
|
||||
|
@ -104,7 +104,7 @@ var PLATFORM_PARAMS = {
|
||||
extra_preproc_args: ['-I', '/share/include/coleco'],
|
||||
extra_link_args: ['-k', '/share/lib/coleco', '-l', 'libcv', '-l', 'libcvu', 'crt0.rel'],
|
||||
},
|
||||
'sg1000': {
|
||||
'sms-sg1000': {
|
||||
rom_start: 0x0000,
|
||||
code_start: 0x0100,
|
||||
rom_size: 0xc000,
|
||||
|
Loading…
x
Reference in New Issue
Block a user