Skip to content

Tandy SCREEN 6 (640x200x4-color) GET gets 2x size expected #163

@JDoucette

Description

@JDoucette

Bug report

Problem
GET() a sprite in SCREEN 6 in Tandy (640x200 x 4-colors) accepts a target 2x the expected size.

Steps

  1. Run in tandy mode:
"C:\Program Files (x86)\PC-BASIC-1.2\pcbasic.exe" --preset=tandy --syntax=tandy --video=tandy --scaling=crisp --dimensions=1344,840
  1. Run this program:
10 CLEAR,,,32768!:SCREEN 6
20 DIM X(1000),Y(1000)
30 LOCATE 1,1
40 FOR I=1 TO 4:PRINT"ABCDEFGHIJ":NEXT I
50 GET (0,0)-(7,7),X
60 GET (0,0)-(15,15),Y
70 PUT (320,100),X
80 PUT (480,100),Y
  1. Note that I am GET() a 8x8 and 16x16 square. But what is PUT is 16x8 and 32x16

GET-PUT

Program
Above.

Crash log
None.

Notes
PC-BASIC version: 1.2.14
Operating system version: Windows 10

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions