Tokugawa Corporate Forums

Retro Japanese Computing
It is currently April 29th, 2024, 4:47 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: March 26th, 2012, 9:09 pm 
Offline

Joined: March 24th, 2012, 12:43 pm
Posts: 3
Someone knows where to find assembler compilers or english guides about assembler programing? Also N88 BASIC tutorials are welcome, or anything else related,but I'm just sure about there's something more than the useless N88 BASIC interpreter.


Top
 Profile  
 
PostPosted: March 27th, 2012, 5:05 am 
Offline
User avatar

Joined: May 16th, 2007, 7:08 pm
Posts: 861
The first PC-88 models used a NEC µPD780 processor which is Z80 compatible, but latter models used either other Z80 based processors or 8088 based processors, assembler code will be incompatible between some models...

Utilities

Included are several N88-basic versions, N80-basic, N-basic, Micro disk basic, and other utilities which may be of your interest.

And if it helps, PC-8801 memory map.


Top
 Profile  
 
PostPosted: March 27th, 2012, 12:48 pm 
Offline

Joined: March 24th, 2012, 12:43 pm
Posts: 3
Oh, thats a great help. Someone knows how sprites are encoded into VRAM on PC-88?


Top
 Profile  
 
PostPosted: March 27th, 2012, 6:31 pm 
Offline

Joined: March 18th, 2011, 8:45 am
Posts: 103
Location: Madrid, Spain
I suposse that they're software sprites (no hardware sprites in the PC88, right?) and given the 3 bitplanes (RGB), they must be encoded in the usual way overlapping the bitplane data. Every bitplane is 640x200 pixels (16K data); but I don't have the slightest idea of how the color data is composed (200 rows of 80 bytes each?, linear or not?). Never tried to test it...

Anyway, I've found this example using BASIC V3:

Code:
 100 'COMPOSE サンプル110 SCREEN WIDTH 7,320,4,320,4
 120 WIDTH 80,25:CONSOLE 0,22,1,1:CLS 3
 130 COLOR 14
 140 FOR I=3 TO 20
 150 LOCATE 18,I:PRINT "888888888888888888888888888888888"
 160 NEXT I
 170 SPRITE SCREEN 1
 180 DIM A%(513)
 190 A%(0)=32*2:A%(1)=16*4
 200 FOR I=2 TO 64*2*4+1
 210 A%(I)=&HFFFF
 220 NEXT
 230 PUT PATTERN 1,A%,1,4
 240 PALETTE 30,&HFFE0:PALETTE 31,-1
 250 BUFFER=0
 260 LINE (40,32)-(160,120),1,BF
 270 LINE (40,128)-(160,300),1,BF
 280 BUFFER=8
 290 LINE (100,110)-(250,350),2,BF
 300 LOCATE 0,0:COLOR 15
 310 PRINT "0=テキスト 1=スプライト 2=グラフィック0(アオ) 3=グラフィック1(アカ)"
 320 FOR P=1 TO 10
 330 READ FST,SND,TRD,FTH
 340 LOCATE 0,1:PRINT "現在の優先順位";FST;SND;TRD;FTH
 350 COMPOSE FST,SND,TRD,FTH,7
 360 GOSUB 450
 370 NEXT P
 380 PALETTE:PALETTE 31,&HFFFF
 390 COMPOSE 1,0,2,3
 400 PALETTE:PALETTE 31,&HFFFF
 410 SPRITE SCREEN 1
 420 BUFFER=0:CLS 3
 430 BUFFER=8:CLS 3
 440 END
 450 '
 460 TURN ON SPRITE
 470 FOR I=650 TO 0 STEP -1
 480 LOCATE SPRITE 1,I,89,1:FOR J=0 TO 11:NEXT J
 490 NEXT I
 500 FOR TT=0 TO 1000:NEXT
 510 RETURN
 520 DATA 1,0,2,3,1,0,3,2,1,2,0,3,1,2,3,0
 530 DATA 2,1,0,3,2,1,3,0,2,3,1,0
 540 DATA 3,1,0,2,3,1,2,0,3,2,1,0

_________________
Japanese computers fan!


Top
 Profile  
 
PostPosted: March 27th, 2012, 7:53 pm 
Offline
User avatar

Joined: May 16th, 2007, 7:08 pm
Posts: 861
I must admit that the idea of having a SDK is appealing..

There are some magazines (e.g. Mycom, I/O) which had some type-in programs and examples.. like "how to do a menu" and stuff.

You should be aware that PC-8001 is a very similar machine and that technical documentation is available for that model.


Top
 Profile  
 
PostPosted: March 27th, 2012, 8:17 pm 
Offline

Joined: March 24th, 2012, 12:43 pm
Posts: 3
wushu wrote:
I must admit that the idea of having a SDK is appealing..


Sometimes SDK is just a book and asm compiler. :p


Top
 Profile  
 
PostPosted: March 28th, 2012, 3:38 am 
Offline
User avatar

Joined: May 16th, 2007, 7:08 pm
Posts: 861
ehs03y3ol wrote:
Sometimes SDK is just a book and asm compiler. :p


In this case a tech doc and BASIC. Programmers didn't need more than that back in the day.


What I meant is a SDK rich in tech docs and info, some code examples, and some utilities. Maybe some day..


Top
 Profile  
 
PostPosted: April 28th, 2012, 5:48 pm 
Offline
User avatar

Joined: May 16th, 2007, 7:08 pm
Posts: 861
If somebody happen to have _any_ technical info regarding PC-80/88 family, please share it. Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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:  
Powered by phpBB® Forum Software © phpBB Group