Search found 119 matches

by Stefan123
Wed Sep 06, 2017 9:07 pm
Forum: Compilers (Boriel, Z88dk etc)
Topic: C API and graphics library for Next layer 2 screen
Replies: 16
Views: 6619

Re: C API and graphics library for Next layer 2 screen

Hi Alvin, I have now tested the new z88dk-install tool in the z88dk snapshot from 2017-09-06 on my Windows 10 computer. I have been able to successfully install, update and remove your 3rd party packaging example of zxnext_layer2. However, I have encountered the following problems: 1. The z88dk-inst...
by Stefan123
Mon Sep 04, 2017 8:39 pm
Forum: Compilers (Boriel, Z88dk etc)
Topic: C API and graphics library for Next layer 2 screen
Replies: 16
Views: 6619

Re: C API and graphics library for Next layer 2 screen

Great! I will test it as soon as I get some spare time, I have long working hours this week...
by Stefan123
Tue Aug 29, 2017 9:07 pm
Forum: Compilers (Boriel, Z88dk etc)
Topic: C API and graphics library for Next layer 2 screen
Replies: 16
Views: 6619

Re: C API and graphics library for Next layer 2 screen

Cesar, I'm looking forward to test the new beta version of ZEsarUX with its support for hardware scrolling :) Keep up the good work!
by Stefan123
Tue Aug 29, 2017 9:02 pm
Forum: Compilers (Boriel, Z88dk etc)
Topic: C API and graphics library for Next layer 2 screen
Replies: 16
Views: 6619

Re: C API and graphics library for Next layer 2 screen

Alvin, thanks for your suggestions :) I have now created a prebuilt snapshot that is automatically rebuilt when the project is updated. It is available here: https://github.com/stefanbylund/zxnext_layer2_demo/blob/master/build/zxnext_layer2_demo.zip I have also added the required z88dk command-line ...
by Stefan123
Mon Aug 28, 2017 8:33 pm
Forum: General
Topic: Next memory model
Replies: 17
Views: 4664

Re: Next memory model

Feedback: To access all 640 KB RAM available to Next programs, I use port 0x7FFD and bits 0-2 in combination with port 0xDFFD and bits 0-2 as described by Mike Dailly in his example source code (utils.asm) provided with CSpect. It works like a charm :)
by Stefan123
Mon Aug 28, 2017 8:13 pm
Forum: Compilers (Boriel, Z88dk etc)
Topic: C API and graphics library for Next layer 2 screen
Replies: 16
Views: 6619

Re: C API and graphics library for Next layer 2 screen

Update I have updated the C layer 2 graphics library with documentation on layer 2 hardware scrolling and added two specialized blit functions optimized for blitting new columns and rows in horizontal and vertical scrolling. I have also added several examples on horizontal and vertical scrolling of...
by Stefan123
Fri Aug 25, 2017 2:41 pm
Forum: General
Topic: Next memory model
Replies: 17
Views: 4664

Re: Next memory model

Alvin, do you mean using port 0x7FFD and bits 0-2 in combination with bits 6-7? Have you tried this with the ZEsarUX and CSpect emulators?
by Stefan123
Fri Aug 25, 2017 12:56 pm
Forum: General
Topic: Next memory model
Replies: 17
Views: 4664

Next memory model

Is it known how the extended memory bank switching should work on the Next? The Spectrum 128K memory bank switching only allows for eight 16 KB RAM pages (numbered from 0 to 7) as specified in the byte written to port 0x7FFD. The output byte has the following layout: Bit 0-2: RAM page (0-7) to map i...
by Stefan123
Sat Aug 19, 2017 7:49 pm
Forum: Compilers (Boriel, Z88dk etc)
Topic: C API for Next hardware sprites
Replies: 34
Views: 13347

Re: C API for Next hardware sprites

Thanks for the clarifications. I will try both otir and outi when the next version of CSpect arrives.

You kind of wish that the Next team would have specified more clearly that these ports should be treated as 8-bit. That would have saved some time for the emulator guys.
by Stefan123
Sat Aug 19, 2017 4:03 pm
Forum: Compilers (Boriel, Z88dk etc)
Topic: C API and graphics library for Next layer 2 screen
Replies: 16
Views: 6619

C API and graphics library for Next layer 2 screen

I have created a C API and graphics library for the Next layer 2 screen. The project is available on GitHub at: https://github.com/stefanbylund/zxnext_layer2 I have also created an example program on GitHub for demonstration and regression testing of the API: https://github.com/stefanbylund/zxnext_l...