6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Apr 27, 2024 11:52 pm

All times are UTC




Post new topic Reply to topic  [ 47 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
PostPosted: Tue Oct 24, 2023 11:43 am 
Offline

Joined: Fri Aug 06, 2021 6:04 am
Posts: 4
Location: Muroran-shi, Hokkaido, JAPAN
Hi,

I'm trying noneya's VIA emulator in PICO-6502. Here's knight-rider code in a1basic.
Note I moved the base address of 6522 to $B000.

Code:
   10 POKE -20478,255
   20 K = 1
   30 FOR I=0 TO 7
   40   POKE -20479,K
   45   GOSUB 500
   50   K=K*2
   60 NEXT I
   70 K=128
   80 FOR I=0 TO 7
   90    POKE -20479,K
   95    GOSUB 500
  100    K = K / 2
  110 NEXT I
  120 GOTO 20
  500 FOR J=1 TO 10
  510 NEXT J
  520 RETURN

Attachment:
スクリーンショット 2023-10-24 20.38.52.png
スクリーンショット 2023-10-24 20.38.52.png [ 7.45 MiB | Viewed 6420 times ]


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 26, 2023 2:03 am 
Offline

Joined: Fri Feb 12, 2021 10:17 pm
Posts: 34
kuwatay wrote:
Hi,

I'm trying noneya's VIA emulator in PICO-6502. Here's knight-rider code in a1basic.
Note I moved the base address of 6522 to $B000.

Code:
   10 POKE -20478,255
   20 K = 1
   30 FOR I=0 TO 7
   40   POKE -20479,K
   45   GOSUB 500
   50   K=K*2
   60 NEXT I
   70 K=128
   80 FOR I=0 TO 7
   90    POKE -20479,K
   95    GOSUB 500
  100    K = K / 2
  110 NEXT I
  120 GOTO 20
  500 FOR J=1 TO 10
  510 NEXT J
  520 RETURN

Attachment:
スクリーンショット 2023-10-24 20.38.52.png



Nice kuwatay!

_________________
Shaking out the dirty bits!

https://github.com/DonaldMoran


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 47 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: