flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Non-x86 architectures > fasm for i8080A

Author
Thread Post new topic Reply to topic
shoorick



Joined: 25 Feb 2005
Posts: 1559
Location: Ukraine
fasm for i8080A
i have made nostalgic project on weekend Smile as i have some boards with 8080 cpu, now i can give them new chance Wink

not sure if all commands were encoded correctly - have no time to test it well, but first "hello" already works on emulator Wink

as well as most home-made pc-s with 8080 in USSR were using koi7 encoding - i have add macro to translate strings from win1251 into koi7 - other men may just ignore it Smile

-------------

errors fixing started Smile


Description:
Filesize: 21.21 KB
Viewed: 13595 Time(s)

8080fasm.jpg


Description:
Download
Filename: WAF8080.zip
Filesize: 17.29 KB
Downloaded: 546 Time(s)


_________________
UNICODE forever!


Last edited by shoorick on 09 Nov 2007, 09:07; edited 1 time in total
Post 05 Nov 2007, 06:06
View user's profile Send private message Visit poster's website Reply with quote
sylwek32



Joined: 27 Apr 2006
Posts: 340
nice Smile
Post 06 Nov 2007, 01:22
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7111
Location: Slovakia
cute
Post 06 Nov 2007, 02:47
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1559
Location: Ukraine
some testing provided, some errors were fixed. further updates (if they will be) will be placed there (to not update everywhere Wink )
Post 09 Nov 2007, 09:09
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1559
Location: Ukraine
now, as i have restored some of my work from cassetes, you may puzzle a little with my forth for i8080 Smile it left unfinished, but can do something - see emulator screenshot Wink


Description:
Filesize: 7.03 KB
Viewed: 13326 Time(s)

spec_forth.png


Description: Source and binary for "Specialist" PC
Download
Filename: spec_forth.0.2.2.2.zip
Filesize: 7.58 KB
Downloaded: 468 Time(s)


_________________
UNICODE forever!
Post 13 Jan 2009, 16:00
View user's profile Send private message Visit poster's website Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
ha ha, very nice Smile

_________________
Want hosting for free for your asm project? You can PM me. (*.fasm4u.net)
Post 24 Jan 2009, 15:50
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1559
Location: Ukraine
so, i'm already winner?
Post 24 Jan 2009, 17:15
View user's profile Send private message Visit poster's website Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
shoorick,

Get your prize at www.42.com Wink
Post 24 Jan 2009, 22:30
View user's profile Send private message Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
shoorick,
A winner @ what?
Post 24 Jan 2009, 23:36
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1559
Location: Ukraine
a 3kb demo Wink

Image

similar on emulator:
Image

used hardware:
http://picasaweb.google.com/shooricks/bDnQfG

Image


Description:
Download
Filename: DEMO.0.1.0.0.zip
Filesize: 5.61 KB
Downloaded: 417 Time(s)

Description:
Download
Filename: lib85.0.1.0.2.zip
Filesize: 7.5 KB
Downloaded: 416 Time(s)


_________________
UNICODE forever!


Last edited by shoorick on 13 Aug 2010, 07:24; edited 1 time in total
Post 11 Aug 2010, 04:54
View user's profile Send private message Visit poster's website Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4641
Location: Argentina
shoorick, that demo is great!

BTW, do you have some schematics explaining what each chip is? Where is the video output?
Post 11 Aug 2010, 05:25
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1559
Location: Ukraine
yes, there are some variants of schematics of this computer. unfortunately all descriptions of it are in russian - it was presented in USSR in 1987 (developed in 1985 by amatour Wolkow) and was popular here as some other similar, until they were forced out by ZX Spectrum clones. such computers were based on soviet i8080 clone and, i think, are unknown on the west Wink

it has such parameters:
0000-BFFF - 48 kb RAM
including
9000-BFFF - 12 kb video RAM
video: only grafic 384x256x1

C000-EFFF - ROM (this part varies on model)

i made it in 1989 and it was my first PC, been working hard till 1998, and used to play till 2000. unfortunately, it was occasionaly burned, so i made a new one this year as i've been missing it too much Smile (i had a spare PCB for it)
Post 11 Aug 2010, 05:59
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1559
Location: Ukraine
LocoDelAssembly
generally, you may see here original schematic of this computer:
http://www.spetsialist-mx.ru/schemes/Spetsialist.png
its name is "Specialist" (or "Fachiwec" in Ukrainian)
all chips are simple logic, counters, decoders etc. all of them have western analogs and mostly have modern variants, but some of them are archaic, like i8212 register or 3216 bus drivers. large chips are:
i8080 - CPU
i8255 - PIO
2716 - 2kb EPROM (minimal configuration required only 1 eprom - "Loader", but mostly there were 2 eproms used - second was "Monitor" - a simple program which let to operate computer: provide memory modifications, dumps, etc., and handy interface to save or load files from tape)
4116 - DRAM 16kx1 (many clones, as mine, were using 4164 instead)
also, instead of curly western designation of logic in USSR all logic was designed as rectangles with mark inside: & - AND, 1 - OR, =1 - XOR.
tell me if you need more info Wink

regards!
Post 12 Aug 2010, 05:15
View user's profile Send private message Visit poster's website Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4641
Location: Argentina
Thanks for the info shoorick, very good.

Unfortunately, I'm still unable to figure out what is responsible for the video output and where is the video port. Razz
Post 12 Aug 2010, 16:19
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1559
Location: Ukraine
simplified explanation:

there are counters which counts from 0 till ... (do not remember last number now) - these numbers are using to generate current video address.
DD8,DD2-DD5

there is a dispatcher, made on trigger DD12.1 and some logic, which let to read byte from memory into storage register DD46 between memory access by CPU. this video reading also provides transparent memory refresh (no delays to CPU by video access).

videobyte from register DD46 goes to registers DD47,DD48, where is shifted by the 8MHz clock and gives out video bits (DD48, pin10).

there are some logic rightside of the counters which generates vertical and horizontal synchro pulses and blanking: DD10 - vertical sync, DD11 - horyzontal sync. rightside of them you can see mixer made on resistors and diodes, which gives composite video through capasitor C4 (ВИДЕО = VIDEO)
Post 13 Aug 2010, 06:20
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1559
Location: Ukraine
an INTEGRATED PACKAGE for i8080 uploaded to WinAsm Studio download area Wink

it contains:
- minimized WinAsm IDE
- minimized fasm
- minimized emu
- minimized docs and examples
- ready to use: unpack to C:\spec and use Wink

is it hard or not - see there:
http://www.youtube.com/watch?v=47KEB57zonk
Post 06 Feb 2012, 18:42
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1559
Location: Ukraine

Quote:
here is a new approach to i8080/i8085 using already fasm g assembler.



moved into the new topic

_________________
UNICODE forever!


Last edited by shoorick on 16 Jul 2015, 19:55; edited 1 time in total
Post 15 Jul 2015, 01:03
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.