Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some typos and minor presentation improvements #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Pico_6502_v4_ehbasic/Pico_6502_v4_ehbasic.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

Inspired by work http://www.8bitforce.com/blog/2019/03/12/retroshield-6502-operation/
*/
#include <Arduino.h>
//#include <pico/stdio.h>

#include "pico/stdio.h"

#include "pico/stdlib.h"
#include "pico/time.h"
//#include "pico/stdlib.h"
//#include "pico/time.h"

#include "mos65C02.h"
#include "memory.h"
Expand Down
2 changes: 1 addition & 1 deletion Pico_6502_v4_ehbasic/ehbasic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ const uint8_t vectors_bin[] = {

//#include "C:\cygwin64\home\Rien\pico\ehbasic.neo6502\basic.mon"
const uint8_t ehbasic_bin[] = {
#include "C:\cygwin64\home\Rien\pico\ehbasic.neo6502\basic.mon"
#include "/home/mikeh/Pico_6502_v4_ehbasic/ehbasic.neo6502/basic.mon"
};
3 changes: 1 addition & 2 deletions Pico_6502_v4_ehbasic/ehbasic.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#ifndef _EHBASIC_h
#define _EHBASIC_h

#include "arduino.h"
#include <Arduino.h>

#define EHBASIC_START 0xA000
#define EHBASIC_SIZE 0x2D3C
Expand All @@ -12,4 +12,3 @@ extern const uint8_t vectors_bin[];

extern const uint8_t ehbasic_bin[];
#endif

3 changes: 1 addition & 2 deletions Pico_6502_v4_ehbasic/roms.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
#ifndef _ROMS_h
#define _ROMS_h

#include "arduino.h"
#include <Arduino.h>

bool loadROMS();
#endif

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Pico_6502_v4_ehbasic

this version is of the NEO6502 memulator supporting a 320x240 256 color display, dual buffered.
It will boot into Enhanced basic. You do not need to answer the Memory size question
This version is the NEO6502 memulator supporting a 320x240 256 color display, dual buffered.
It will boot into Enhanced basic. You do not need to answer the Memory size question.

In order to have the board work correctly, connect UEXT.3 to 6502BUS.40

Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
1 REM DEMO
5 ? RND(100)
10 CLS
20 VDU %10000011
25 X = 0
30 PIXEL RND(0)*320,RND(0)*240
35 MOVE RND(0)*280,RND(0)*220
40 PRINT "Hello world"
50 COLOR RND(0)*7
60 IF RND(0)*10>6 GOTO 90
70 PIXEL RND(0)*320,RND(0)*240
80 GOTO 100
90 CIRCLE RND(0)*320,RND(0)*240,RND(0)*2+1,1
100 MOVE 160,120
110 DRAW RND(0)*320,RND(0)*240
120 PIXEL RND(0)*320,RND(0)*240
130 REFRESH
140 X=X+1
150 IF X=50 GOTO 10
160 GOTO 30
1 REM DEMO
5 ? RND(100)
10 CLS
20 VDU %10000011
25 X = 0
30 PIXEL RND(0)*320,RND(0)*240
35 MOVE RND(0)*280,RND(0)*220
40 PRINT "Hello world"
50 COLOR RND(0)*7
60 IF RND(0)*10>6 GOTO 90
70 PIXEL RND(0)*320,RND(0)*240
80 GOTO 100
90 CIRCLE RND(0)*320,RND(0)*240,RND(0)*2+1,1
100 MOVE 160,120
110 DRAW RND(0)*320,RND(0)*240
120 PIXEL RND(0)*320,RND(0)*240
130 REFRESH
140 X=X+1
150 IF X=50 GOTO 10
160 GOTO 30