Code help wanted

ZX evolution software and hardware

Postby justine » 08 Oct 2011, 14:28

Can some kind person give me an example on how to set the graphics mode on the Evo ?
E.G. How to set it to 80 x 25 text mode
And how to set 600 x 200

Also how to swap the area of ram from 49152 to 65536 to 0 to 16383 ( Turn rom off ) and page in a new ram bank at 49152 to 65536 ??
Also what is the best assembler to use on the Evo ?

Any help would be appreciated
User avatar
justine
 
Posts: 101
Joined: 06 Jul 2011, 00:50
Location: Scotland
Group: Registered users

Postby DimkaM » 08 Oct 2011, 19:03

justine wrote:How to set it to 80 x 25 text mode


ld a,1 ;open shadow-ports
out (#BF),a
ld bc,#ff77 ;set textmode
ld a,#26
out (c),a
xor a ;close shadow potrs
out (#BF),a
Last edited by DimkaM on 09 Oct 2011, 06:34, edited 1 time in total.
ZX-Evo rev C, ZXNetUsb rev A
DimkaM
 
Posts: 1269
Joined: 24 Mar 2010, 13:42
Location: джунгли Амазонки
Group: Registered users

Postby DimkaM » 08 Oct 2011, 19:29

CPU address space:
#0000-3FFF bank0
#4000-7FFF bank1
#8000-BFFF bank2
#C000-FFFF bank3

physical RAM address space:
256 pages(0-255) to 16 kilobytes

any page of memory can be plugged into any memory bank.

di
ld a,1 ;open shadow-ports
out (#BF),a

LD BC,#3FF7 ;connect sixty-third page of RAM in bank0
LD A,#40
OUT (C),A

LD BC,#FFF7 ;connect forty-fifth page of RAM in bank3
LD A,#52
OUT (C),A

xor a ;close shadow-potrs
out (#BF),a
Last edited by DimkaM on 09 Oct 2011, 06:32, edited 4 times in total.
ZX-Evo rev C, ZXNetUsb rev A
DimkaM
 
Posts: 1269
Joined: 24 Mar 2010, 13:42
Location: джунгли Амазонки
Group: Registered users

Postby DimkaM » 08 Oct 2011, 19:31

justine wrote:Also what is the best assembler to use on the Evo ?

Sjasm on PC.
ALASM on ZX.
ZX-Evo rev C, ZXNetUsb rev A
DimkaM
 
Posts: 1269
Joined: 24 Mar 2010, 13:42
Location: джунгли Амазонки
Group: Registered users

Postby justine » 08 Oct 2011, 21:56

Thanx DimkaM
User avatar
justine
 
Posts: 101
Joined: 06 Jul 2011, 00:50
Location: Scotland
Group: Registered users

Postby DimkaM » 09 Oct 2011, 06:29

TS-Labs wrote:open hide-ports = открыть спрятать-порты
Пофиксил. Английский в школе обычно прогуливал, но все же друг друга поняли.
TS-Labs wrote:OK, I'll add my 5 cents...
Вот так бы всегда, а то мануал отправляешь читать, который непонятно чем открывать(.odt)
ZX-Evo rev C, ZXNetUsb rev A
DimkaM
 
Posts: 1269
Joined: 24 Mar 2010, 13:42
Location: джунгли Амазонки
Group: Registered users

Postby CHRV » 09 Oct 2011, 08:02

Все мануалы у нас сделаны в http://www.openoffice.org
Многое есть здесь: www.nedopc.com
User avatar
CHRV
Желесяка
 
Posts: 923
Joined: 15 Apr 2007, 22:52
Group: Registered users

Postby DimkaM » 09 Oct 2011, 09:55

CHRV wrote:Все мануалы у нас сделаны в http://www.openoffice.org

В чём прикол, не понимаю.
ZX-Evo rev C, ZXNetUsb rev A
DimkaM
 
Posts: 1269
Joined: 24 Mar 2010, 13:42
Location: джунгли Амазонки
Group: Registered users

Postby deathsoft » 09 Oct 2011, 10:50

DimkaM wrote:В чём прикол, не понимаю.

Чтобы ебли было больше. (Есть мануалы в нормальном pdf формате).
User avatar
deathsoft
 
Posts: 348
Joined: 07 Apr 2007, 01:58
Group: Registered users

Postby lvd » 09 Oct 2011, 11:05

DimkaM wrote:В чём прикол, не понимаю.

У кого дома пижженная венда, и на ней пижженный офиц -- не понять.
Многого нет здесь: http://lvd.nedopc.com
Image
User avatar
lvd
 
Posts: 1582
Joined: 07 Apr 2007, 22:28
Group: Registered users

Next

Return to Пентева - софт и железо

Who is online

Users browsing this forum: MiLaskinaAcaks and 3 guests

cron