{"push_id":767033993,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"4a6bf279353aa4afcccc389d083808abbcae6445","before":"1a65d882fae4d1a2cbe4f62ef40e336f4d3e2160","commits":[{"sha":"4a6bf279353aa4afcccc389d083808abbcae6445","author":{"email":"40a7cc08569228b9ffec7a5455fcb1d329754dc6@atari.org","name":"ggn"},"message":"v1.2 changes (please read carefully as it might break current projects):\n\n- Small fix for peek/dpeek/lpeek\n- Small fix for BUILD.bat\n- Added our own version of jcp.exe\n- Added Zerosquare's version of bjl uploader\n- Small fix in build.bat that would create a folder for a non existing project\n- Small fix in build.bat when building .abs files\n- New option for build.bat: build <project> sendy bjl will upload built binary using bjl transfer (note: you might need to edit the upload settings)\n- New file externs.inc added instead of having to .extern all new needed exposed functions. All existing rapapp.s files need some modifying!\n- New function: bin2asc(number, digits, string$) will convert number with (digits+1) digits very fast and render it to string$. Note that the number has to be an integer. Quick example: bin2asc(987,2,out$) will convert number 987 to string using 3 digits and place it into out$. If we used 3 instead of 2 we'd get \"0987\"\n- Added a new audio player by Zerosquare/CSVD. This change CAN break your builds if you don't add a few changes to your rapapp.s - see what's changed to include\\template\\rapapp.s for more info). You can still use the u-235 sound engine instead of this, but you have to change the first equate at the top of your rapapp.s (again, look at the template for more info).\n- New command added: ZEROPAD() will read both pad ports and sends results back to variables zero_left_pad, zero_right_pad, zero_mousex_delta, zero_mousey_delta and zero_rotary_delta. By default the engine is configured to assume 2 joypads connected.\n- New command added: Input_SetNormalPadMode will set up the engine to read two pads (enabled by default). zero_left_pad and zero_right_pad can be read using these constants: Input_Pad_Pause, Input_Pad_A, Input_Pad_Up, Input_Pad_Down, Input_Pad_Left, Input_Pad_Right,Input_Pad_C1,Input_Pad_B,Input_Pad_Star,Input_Pad_7,Input_Pad_4,Input_Pad_1,Input_Pad_C2,Input_Pad_C,Input_Pad_0,Input_Pad_8,Input_Pad_5, Input_Pad_2, Input_Pad_C3, Input_Pad_Option, Input_Pad_Sharp, Input_Pad_9, Input_Pad_6,Input_Pad_3. (example: if zero_left_pad band Input_Pad_Star will check left pad for star button press).\n- New command added: Input_SetJoyPort1 selects the joypad port 1 to use for rotary/mouse input. This doesn't enable rotary/mouse mode if it isn't already. zero_rotary_delta will give the number of rotary ticks since the last read command.\n- New command added: Input_SetJoyPort2 selects the joypad port 2 to use for rotary/mouse input. This doesn't enable rotary/mouse mode if it isn't already.\n- New command added: Input_SetRotaryMode selects the rotary mode.\n- New command added: Input_SetAtariMouseMode selects the Atari mouse mode. Input_Mouse_Left and Input_Mouse_Right are the masks to check for button presses and zero_mousex_delta, zero_mousey_delta the number of mouse ticks in x and y axis since the last read command.\n- New command added: Input_SetAmigaMouseMode selects the Amiga mouse mode.\n- New command added: SNDZEROPLAY chan, start_address, len, frequency, params will play a sample starting from start_address with length len to channel chan with speed frequency and with flags params. Channel should be from 1 to 4. start_address should be aligned to 4 bytes. len should be a multiple of 4. frequency should be an integer that divides the base frequency of 46168Hz. So for example if it's set to 1, it'll play a sample at 46168Hz, a 2 will play a sample at 23084Hz etc. Available flags are Zero_Audio_8bit_Signed (plays an 8-bit signed sample), Zero_Audio_8bit_Unsigned (plays an 8-bit unsigned sample), Zero_Audio_8bit_muLaw (plays a 8-bit compressed μLaw sample) and Zero_Audio_Looping (enables sample loop).\n- New assets.txt functionality: sfx_mlawFREQ will convert a sample to μlaw and reample it to frequency FREQ (example: sfx_mlaw15389 will convert a sample to 15389Hz and compress it to μLaw ready for the player)\n- New assets.txt functionality: sfx_rawFREQ will convert a sample to raw and reample it to frequency FREQ (example: sfx_raw15389 will convert a sample to 15389Hz and compress it to μLaw ready for the player)\n- New raptor.o that adds extra functionality:\n- New variable exposed: raptor_ntsc_flag is non-zero if machine is ntsc.\n- New variable exposed: raptor_user_savedata\tpoints to 512 bytes for user data which will be appended to the MT save\n- Slight improvement: you can now use binary bitfields in basic! Just use B8(binary byte) for bytes, B16(binary byte,binary byte) words and B32(binary byte,binary byte,binary byte,binary byte) for longwords!","distinct":true,"url":"https://api.github.com/repos/ggnkua/bcx-basic-Jaguar/commits/4a6bf279353aa4afcccc389d083808abbcae6445"}]}