Search found 62 matches
- Tue Jan 28, 2020 11:37 am
- Forum: Other targets
- Topic: Some things not working for me
- Replies: 50
- Views: 30528
By the way, the ARM buttons (FIRE2) use a different port. Here's some sample code from the AGD mentioned above: ; Joystick 1. joy1 in a,($2e) ; read joystick1 call readjoy ; convert to joyval in a,($2d) ; Read arm button joystick1 and $10 jr z, joy1a res 5,e ; Not pressed, carry clear jr joy1b joy1a...
- Tue Jan 28, 2020 11:33 am
- Forum: Other targets
- Topic: Some things not working for me
- Replies: 50
- Views: 30528
I tested it on my Real VZ300. Up, Down, Left, Right work on both joysticks but not FIRE or the ARM button (fire2). Whenever I copy a .vz file made with z88dk to my SD Card I get a notice: The file filename.vz has properties that can't be copied to the new location. Are you sure you want to copy this...
- Sun Jan 26, 2020 2:49 am
- Forum: Other targets
- Topic: Some things not working for me
- Replies: 50
- Views: 30528
- Sat Jan 25, 2020 11:07 pm
- Forum: Other targets
- Topic: Some things not working for me
- Replies: 50
- Views: 30528
- Sat Jan 25, 2020 10:44 am
- Forum: Other targets
- Topic: Some things not working for me
- Replies: 50
- Views: 30528
- Sun Dec 22, 2019 8:18 pm
- Forum: Other targets
- Topic: Some things not working for me
- Replies: 50
- Views: 30528
- Sun Dec 22, 2019 5:53 am
- Forum: Other targets
- Topic: Some things not working for me
- Replies: 50
- Views: 30528
- Sun Dec 15, 2019 10:21 am
- Forum: Bug reports
- Topic: Error with over 3 asm files
- Replies: 2
- Views: 5123
- Sun Dec 15, 2019 4:53 am
- Forum: Other targets
- Topic: Foxglovz v0.3 released
- Replies: 11
- Views: 7979
- Sun Dec 15, 2019 4:48 am
- Forum: Other targets
- Topic: Foxglovz v0.3 released
- Replies: 11
- Views: 7979
Code: Select all
int mode = 33;
console_ioctl(IOCTL_GENCON_SET_MODE, &mode);
- Sun Dec 15, 2019 4:41 am
- Forum: Other targets
- Topic: Foxglovz v0.3 released
- Replies: 11
- Views: 7979
- Sat Dec 14, 2019 8:02 am
- Forum: Bug reports
- Topic: Error with over 3 asm files
- Replies: 2
- Views: 5123
Error with over 3 asm files
It drove me crazy for a while and I don't know what's going on, but if I use this line the compile is successful: zcc +vz -zorg=31488 -vn -m file.c foxsprites.asm file_title.asm file_music.asm sprites.asm -o output.vz -create-app -lndos -z80-verb But if I do it this way: zcc +vz -zorg=31488 -vn -m f...
- Sat Dec 14, 2019 2:54 am
- Forum: Other targets
- Topic: Z88dk1.9 - 1 bit sound for other targets?
- Replies: 16
- Views: 13144
- Thu Dec 12, 2019 10:53 am
- Forum: Windows
- Topic: Setting up Visual Studio to compile Z88DK code and github
- Replies: 2
- Views: 7874
Setting up Visual Studio to compile Z88DK code and github
Howdy! I had some spare time tonight so I set up my Visual Studio install to make it work with Z88DK. I had already installed the dos/shell git and set it up so it was immediately available in Visual Studio. I created a VS 'task' which has the commandline parameters set up for compiling with Z88DK. ...
- Tue Dec 10, 2019 9:26 am
- Forum: Other targets
- Topic: Z88dk1.9 - 1 bit sound for other targets?
- Replies: 16
- Views: 13144
- Sat Nov 16, 2019 10:57 am
- Forum: Other targets
- Topic: Some things not working for me
- Replies: 50
- Views: 30528
- Sat Nov 16, 2019 4:32 am
- Forum: Other targets
- Topic: Some things not working for me
- Replies: 50
- Views: 30528
- Sat Nov 16, 2019 4:27 am
- Forum: Other targets
- Topic: Some things not working for me
- Replies: 50
- Views: 30528
- Sat Nov 16, 2019 4:22 am
- Forum: Other targets
- Topic: Some things not working for me
- Replies: 50
- Views: 30528
Trying to use delay(x):
Code: Select all
delay(5);
Error at file 'main.c' line 1621: symbol '_delay' not defined
Errors in source file D:\Dev\VZ\z88dk\lib\config\..\..\\lib\target\vz\classic\vz_crt0.asm:
Error at file 'main.c' line 1621: symbol '_delay' not defined
^ ---- (null)
- Sat Nov 16, 2019 3:18 am
- Forum: Other targets
- Topic: Some things not working for me
- Replies: 50
- Views: 30528
switch doesn't seem to work with constants.
gives an error
So does:
Only thing that works:
Code: Select all
#define FX = 0
soundfx(FX);
Code: Select all
void soundfx(int sound)
{
switch(sound)
{
case FX:
So does:
Code: Select all
const int FX = 0;
switch (sound)
{
case FX:
Code: Select all
switch (sound)
{
case 0:
- Sun Nov 10, 2019 10:47 am
- Forum: Other targets
- Topic: Foxglovz v0.3 released
- Replies: 11
- Views: 7979
I see there are multiple putsprite routines. What would be the best way to call putsprite from Assembly? I'd like to do a Tiles type routine but I think C would be to slow to draw a screen full of sprites. It may be that since the VZ can only use the slowest putsprite I may have to just do it by han...
- Sat Nov 09, 2019 11:40 pm
- Forum: Other targets
- Topic: Foxglovz v0.3 released
- Replies: 11
- Views: 7979
I tested with MODE(1) and the textcolor(x) functions and they do work, tho.
Code: Select all
int mode = 1;
console_ioctl(IOCTL_GENCON_SET_MODE, &mode);
textcolor(4);
- Sat Nov 09, 2019 11:21 pm
- Forum: Other targets
- Topic: Foxglovz v0.3 released
- Replies: 11
- Views: 7979
- Sat Nov 09, 2019 10:31 pm
- Forum: Other targets
- Topic: Foxglovz v0.3 released
- Replies: 11
- Views: 7979
- Sat Nov 09, 2019 9:32 pm
- Forum: Other targets
- Topic: Foxglovz v0.3 released
- Replies: 11
- Views: 7979