Commit Graph

60555 Commits

Author SHA1 Message Date
nickysn
94f8971e73 + added tests with 32-bit and 64-bit IEEE floating point .wav files
git-svn-id: trunk@47466 -
2020-11-20 03:31:15 +00:00
nickysn
4411b09631 * fixed bug in wav reader, that fails to skip non-data chunks, because it
forgets to seek ahead in the stream

git-svn-id: trunk@47465 -
2020-11-20 03:24:16 +00:00
nickysn
e3d0b3c7c6 - don't check for the PCM format in the .wav reader, to allow reading other audio formats
git-svn-id: trunk@47464 -
2020-11-20 03:21:19 +00:00
Mattias Gaertner
a38da538af pastojs: check await(T,callasyncfunc) type match
git-svn-id: trunk@47462 -
2020-11-19 23:29:24 +00:00
nickysn
46b35256bd + support reading .wav files that have extra data in the end of the 'fmt '
chunk. Added test case, which is a file, generated by the Euphoric emulator.

git-svn-id: trunk@47461 -
2020-11-19 23:05:25 +00:00
florian
28bdb364f0 * remove readln
git-svn-id: trunk@47460 -
2020-11-19 21:37:23 +00:00
florian
bcdfd07bdd * if a variant is read/written, include the variants unit
git-svn-id: trunk@47459 -
2020-11-19 20:53:47 +00:00
nickysn
caaa649790 + added function InstallUserMode to ptcgraph, that allows you to register a custom resolution and thus, open a custom window size
git-svn-id: trunk@47458 -
2020-11-19 17:59:21 +00:00
nickysn
677b06efd8 + added constants for all the other wave formats (codecs), supported in a .wav file, besides PCM
git-svn-id: trunk@47457 -
2020-11-19 16:22:06 +00:00
Károly Balogh
84e1be805c qlunits: updated QDOS unit, added a QLfloat unit to convert longints and doubles to 48bit QLfloats, added a rotating cube example
git-svn-id: trunk@47456 -
2020-11-19 05:08:12 +00:00
Károly Balogh
6f59167c64 sinclairql: more work on the QL port. very basic stdio (console writeln) works.
git-svn-id: trunk@47455 -
2020-11-19 04:51:56 +00:00
nickysn
a552fc6d94 + fcl_sound wav reader tests: added stereo .wav file tests
git-svn-id: trunk@47454 -
2020-11-19 03:26:37 +00:00
Károly Balogh
9d67adcbb6 * regenerated all Makefiles after Sinclair QL support was added
git-svn-id: trunk@47453 -
2020-11-19 02:58:27 +00:00
nickysn
188054d9b4 + also check the actual PCM wave data in the fcl-sound wavreader test
git-svn-id: trunk@47452 -
2020-11-19 02:56:49 +00:00
Károly Balogh
1d34f0f139 tosunits: it's actually not ami-extra
git-svn-id: trunk@47451 -
2020-11-19 02:43:42 +00:00
nickysn
bed8b8bfd3 + created some tests for fcl-sound
git-svn-id: trunk@47447 -
2020-11-19 01:10:36 +00:00
florian
103b44cf2b * made Compiler Options window large enough to show all CPUs
+ project file for IDE targetting arm
  * write binary to bin/<full target>/fp

git-svn-id: trunk@47446 -
2020-11-18 21:19:14 +00:00
Mattias Gaertner
bd3093e176 pastojs: added experimental target os electron
git-svn-id: trunk@47445 -
2020-11-18 15:56:13 +00:00
Mattias Gaertner
f5acaf10ee pastojs: fixed aPromise:=AsyncFunctionWithCOMIntfResult
git-svn-id: trunk@47444 -
2020-11-18 14:34:22 +00:00
florian
b0deefec45 * do not run the test, it is only about a compilation issue
git-svn-id: trunk@47442 -
2020-11-17 20:32:10 +00:00
Mattias Gaertner
97d4d635c8 pastojs: fixed await(arg) and fixed hint await needs a promise
git-svn-id: trunk@47440 -
2020-11-17 10:05:23 +00:00
pierre
e154b9933f Add some types and records to rtl/linux/t_linux.h2paschk and set macro _LARGEFILE64_SOURCE for __i386__ C code
git-svn-id: trunk@47439 -
2020-11-16 22:37:04 +00:00
pierre
c44095733c * Give access to CPU specific fields of tsettings record
in GENERIC_CPU mode, to be used by ppudump utility.

  generic/cpuinfo.pas: Add tinstructionset, used for ARM cpu.
  globals.pas: Put all CPU specific fields of tsettings record
  inside a variant part when GENERIC_CPU is defined.
  Also import llvm unit when GENERIC_CPU is defined.

  + utils/Makefile.fpc: Add -Fu../llvm option to compile ppudump,
  as it now also needs llvm specific code decause of globals unit change.

git-svn-id: trunk@47438 -
2020-11-16 22:34:38 +00:00
florian
6380df9b42 * correctly simplify tree transforms of (a+c1+c2) if a is a pointer, resolves #37671
git-svn-id: trunk@47437 -
2020-11-16 21:47:19 +00:00
florian
e94fb2edc3 * better writing of ordinal const. nodes
git-svn-id: trunk@47436 -
2020-11-16 21:47:18 +00:00
pierre
edb555f34f Register sinclairql target directory
git-svn-id: trunk@47435 -
2020-11-16 17:14:39 +00:00
pierre
14b34e4f55 Update after commit 47376
git-svn-id: trunk@47434 -
2020-11-16 17:13:48 +00:00
pierre
f0b22a1569 Revert commit #47257, Disable use of cmov instructions in alignment patterns for some i386 targets (it prevents use of some emulators)
Replace it by a new set of i386 targets, for which the default cpu is set to i80486 instead of pentium2
  to avoid (for default configuration) use of CMOVxx or PREFETCHyyy instructions, not supported by some emulators.

git-svn-id: trunk@47433 -
2020-11-16 17:04:46 +00:00
Károly Balogh
2a733aa751 sinclairql: fixed the relocation marker comment in the startup code. no functional change
git-svn-id: trunk@47432 -
2020-11-15 23:19:38 +00:00
Mattias Gaertner
45fb1fcb44 pastojs: fixed await on as operator
git-svn-id: trunk@47431 -
2020-11-15 23:12:34 +00:00
michael
284b50de3c * Allow to create fpdoc project file based on package targets
git-svn-id: trunk@47430 -
2020-11-15 23:04:37 +00:00
Károly Balogh
f2ee1dae52 sinclairql: startup code fixes. set the top of the new stack as stack pointer, not the bottom of it. initialize the .bss section following the new linker script. better protection against re-relocation.
git-svn-id: trunk@47429 -
2020-11-15 22:59:33 +00:00
Károly Balogh
24226ef4af sinclairql: following Frank Wille's advices, reworked the linker script to omit .bss section from the binary. this reduces a simple 'hello, world' size by ~5K. needs matching startup code.
git-svn-id: trunk@47428 -
2020-11-15 22:56:31 +00:00
Károly Balogh
a0543f7f9b sinclairql: the newline on this system is LF, not CRLF
git-svn-id: trunk@47427 -
2020-11-15 19:45:06 +00:00
florian
b2a67d4656 * fixed comments in sysnr.inc files
git-svn-id: trunk@47426 -
2020-11-15 19:30:19 +00:00
florian
878f6d9ce4 * allow generic parameters as iterator variable in for in loops, resolves #38050
git-svn-id: trunk@47425 -
2020-11-15 19:10:34 +00:00
svenbarth
3d2ee097b5 * fix for Mantis #38083: ensure that the sp_generic_dummy flag is set correctly on the new procsym when replacing a dummy sym
+ added test

git-svn-id: trunk@47424 -
2020-11-15 16:27:26 +00:00
florian
98eab07abd * simplified and fixed code of (v1=const1) and (v2=const2) optimization, resolves #38066
git-svn-id: trunk@47423 -
2020-11-15 16:17:54 +00:00
Károly Balogh
157e8792c5 sinclairql: add a few more QDOS function wrappers which are useful at early stage
git-svn-id: trunk@47420 -
2020-11-15 04:55:42 +00:00
Károly Balogh
e5d2c1a980 m68k: fixed parsing of constants to absolute addresses
git-svn-id: trunk@47419 -
2020-11-15 03:55:42 +00:00
Károly Balogh
a82a587a1b m68k: fixed parsing of absolute addresses in the assembler reader
git-svn-id: trunk@47418 -
2020-11-15 03:43:26 +00:00
Károly Balogh
1635d04b7b sinclairql: add a note about .bss sections and the binary size, no functional change
git-svn-id: trunk@47417 -
2020-11-14 23:51:37 +00:00
Károly Balogh
b64edc0170 sinclairql: reduce default stack size to 8K
git-svn-id: trunk@47416 -
2020-11-14 23:50:35 +00:00
florian
089e13396a * ensure that changed compiler options do not cause values
ending up in registers which cannot be hold in registers

git-svn-id: trunk@47415 -
2020-11-14 18:40:58 +00:00
michael
8bbd92bf82 * Improved UTF8 detection by ALexey
git-svn-id: trunk@47414 -
2020-11-13 23:30:23 +00:00
florian
bf7961a901 * fixes for nasm writer, resolves #38074
+ test

git-svn-id: trunk@47413 -
2020-11-13 21:39:16 +00:00
michael
a4995e3852 * Set defaults for boolean props
git-svn-id: trunk@47412 -
2020-11-13 21:35:40 +00:00
michael
891acabe5b * Apply patch from mgr.inz.Player for bug ID #36842
git-svn-id: trunk@47411 -
2020-11-13 21:01:09 +00:00
michael
88db3fb502 * Fix bug ID #37483, correct closesection, patch by C. Western
git-svn-id: trunk@47410 -
2020-11-13 20:45:40 +00:00
Mattias Gaertner
fb87b423fe pastojs: fixed ord(widechar)
git-svn-id: trunk@47408 -
2020-11-13 10:31:01 +00:00