many thanks for the useful hints!
The C code of the game is generated with a tool I wrote, called AWS2C:Mike wrote: ... pulling this off just 3 days after the "Hello World" of the Italian language (so to speak ) is quite an achievement.
https://github.com/DarwinNE/aws2c
Everything is done to have very simple I/O entry points and to be as portable as possible: it's not very difficult to hook specific routines.
I see you noticed itMike wrote: You seriously should reconsider the arrangement of the characters in the text screen though. As I've spotted in your alpha, you use a row-wise arrangement
To say the truth, I was looking at your code and I haven't understood the scrolling routine, so nice and tidy, for a few days
I realized yesterday it would have been much easier to arrange the screen with a column-wise organization.
Currently, as you saw, the scrolling mechanism is a /real/ mess
It's one of the reasons why I haven't shown the code, yet
There're two ideas that I found non trivial. The first one is to set the chargen and the video memory both at $1000, then fill the video memory with characters that make the chargen read only starting from $1100. The second is that it is much better to have the screen oriented in a column-wise arrangement.